Tirath5504 commited on
Commit
6f3b51a
1 Parent(s): abb6d70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def classify_text(text):
14
 
15
  with gr.Interface(
16
  fn=classify_text,
17
- inputs=[gr.Textbox(label="Input Text"), gr.Button("Classify")],
18
  outputs=[gr.Textbox(label="Predicted Label"), gr.Number(label="Prediction Score")],
19
  live=False
20
  ) as demo:
 
14
 
15
  with gr.Interface(
16
  fn=classify_text,
17
+ inputs=[gr.Textbox(label="Input Text")],
18
  outputs=[gr.Textbox(label="Predicted Label"), gr.Number(label="Prediction Score")],
19
  live=False
20
  ) as demo: