gsar78 commited on
Commit
2bbb059
·
verified ·
1 Parent(s): 7014642

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -33,7 +33,10 @@ def predict(text):
33
  iface = gr.Interface(
34
  fn=predict,
35
  inputs="text",
36
- outputs="label",
 
 
 
37
  title="Hellenic Sentiment AI",
38
  description=None,
39
  article=None,
 
33
  iface = gr.Interface(
34
  fn=predict,
35
  inputs="text",
36
+ outputs=[
37
+ gr.outputs.Textbox(label="Prediction"),
38
+ gr.outputs.Label(label="Label Confidence")
39
+ ],
40
  title="Hellenic Sentiment AI",
41
  description=None,
42
  article=None,