MarkAdamsMSBA24 commited on
Commit
fb9db2c
·
verified ·
1 Parent(s): a5ec74e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def get_prediction(text):
18
  iface = gr.Interface(
19
  fn=get_prediction,
20
  inputs=gr.Textbox(lines=4, placeholder="Type your text..."),
21
- outputs=[gr.Textbox(label="Prediction"), gr.Dataframe(label="Scores")],
22
  title="BERT Sequence Classification Demo",
23
  description="This demo uses a BERT model hosted on Hugging Face to classify text sequences."
24
  )
 
18
  iface = gr.Interface(
19
  fn=get_prediction,
20
  inputs=gr.Textbox(lines=4, placeholder="Type your text..."),
21
+ outputs=[gr.Label(label="Prediction"), gr.Dataframe(label="Scores")],
22
  title="BERT Sequence Classification Demo",
23
  description="This demo uses a BERT model hosted on Hugging Face to classify text sequences."
24
  )