Tirath5504 commited on
Commit
04d2c5d
1 Parent(s): 545b84d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -20,9 +20,9 @@ def predict(image):
20
  return predicted_class
21
 
22
  iface = gr.Interface(fn=predict,
23
- inputs=gr.inputs.Image(type="pil"),
24
- outputs=gr.outputs.Label(num_top_classes=1),
25
- title="Hateful Gesture Detection",
26
  description="Upload an image to classify hateful gestures or symbols")
27
 
28
  if __name__ == "__main__":
 
20
  return predicted_class
21
 
22
  iface = gr.Interface(fn=predict,
23
+ inputs=gr.Image(type="pil"),
24
+ outputs=gr.Label(num_top_classes=1),
25
+ title="Hateful Content Detection",
26
  description="Upload an image to classify hateful gestures or symbols")
27
 
28
  if __name__ == "__main__":