Spaces:
Runtime error
Runtime error
Update app.py
Browse files12 unmodified lines131415161718192021222312 unmodified linespredict,inputs=gr.Textbox(label="Write a text"),outputs=gr.Label(label="Predicted Sentiment Probabilities"),components=[gr.Label(label="Neutral: {:.2f}".format(predictions[0]["score"][0])),gr.Label(label="Positive: {:.2f}".format(predictions[0]["score"][1])),gr.Label(label="Negative: {:.2f}".format(predictions[0]["score"][2])),],title="Financial Sentiment Analysis",)12 unmodified lines13141516171812 unmodified linespredict,inputs=gr.Textbox(label="Write a text"),outputs=gr.Label(label="Predicted Sentiment Probabilities"),title="Financial Sentiment Analysis",)
app.py-5