ShAnSantosh commited on
Commit
b326cea
·
1 Parent(s): 4d84659

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -108,5 +108,6 @@ def predict(comment=None) -> dict:
108
 
109
 
110
  gr.Interface(fn=predict,
111
- inputs='text',
 
112
  outputs=gr.outputs.Label(num_top_classes=NUM_CLASSES)).launch()
 
108
 
109
 
110
  gr.Interface(fn=predict,
111
+ inputs=gr.inputs.Textbox(lines=2, placeholder="Your Comment… "),
112
+ title="Toxic Comment Classification"
113
  outputs=gr.outputs.Label(num_top_classes=NUM_CLASSES)).launch()