isboudja commited on
Commit
daa8e07
·
verified ·
1 Parent(s): 2dda83f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,6 +19,6 @@ def predict(text):
19
  gr.Interface(
20
  fn=predict,
21
  inputs=gr.inputs.Textbox(lines=2, placeholder="Enter text here..."),
22
- outputs=gr.outputs.Label(num_top_classes=1),
23
  examples=["Hello, how are you?", "You won a prize! Click here to claim."]
24
  ).launch(share=False)
 
19
  gr.Interface(
20
  fn=predict,
21
  inputs=gr.inputs.Textbox(lines=2, placeholder="Enter text here..."),
22
+ outputs=gr.outputs.Label(),
23
  examples=["Hello, how are you?", "You won a prize! Click here to claim."]
24
  ).launch(share=False)