Tirath5504 commited on
Commit
7bd4481
·
verified ·
1 Parent(s): 627604b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -53,8 +53,8 @@ def predict(text):
53
 
54
  iface = gr.Interface(
55
  fn=predict,
56
- inputs=gr.inputs.Textbox(lines=2, placeholder="Enter text here..."),
57
- outputs=[gr.outputs.Textbox(label="Prediction"), gr.outputs.Textbox(label="Probabilities")],
58
  title="Hate Speech Classifier",
59
  description="A classifier to detect hate speech in a given text.",
60
  )
 
53
 
54
  iface = gr.Interface(
55
  fn=predict,
56
+ inputs=gr.Textbox(lines=2, placeholder="Enter text here..."),
57
+ outputs=[gr.Textbox(label="Prediction"), gr.Textbox(label="Probabilities")],
58
  title="Hate Speech Classifier",
59
  description="A classifier to detect hate speech in a given text.",
60
  )