Spaces:
Runtime error
Runtime error
Update app.py
Browse files12 unmodified lines131415161718192016171812 unmodified lines predict, 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",)
app.py-5