mohd43 commited on
Commit
10d3d01
1 Parent(s): dbcb65d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -5
app.py CHANGED
@@ -13,11 +13,6 @@ gradio_app = gr.Interface(
13
  predict,
14
  inputs=gr.Textbox(label="Write a text"),
15
  outputs=gr.Label(label="Predicted Sentiment Probabilities"),
16
- components=[
17
- gr.Label(label="Neutral: {:.2f}".format(predictions[0]["score"][0])),
18
- gr.Label(label="Positive: {:.2f}".format(predictions[0]["score"][1])),
19
- gr.Label(label="Negative: {:.2f}".format(predictions[0]["score"][2])),
20
- ],
21
  title="Financial Sentiment Analysis",
22
  )
23
 
 
13
  predict,
14
  inputs=gr.Textbox(label="Write a text"),
15
  outputs=gr.Label(label="Predicted Sentiment Probabilities"),
 
 
 
 
 
16
  title="Financial Sentiment Analysis",
17
  )
18