Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ def analyze_sentiment(input_text):
|
|
| 13 |
"mr8488": f"{result2['label']} ({result2['score']:.2f})"}
|
| 14 |
|
| 15 |
# Create the Gradio interface
|
| 16 |
-
iface = gr.Interface(fn=analyze_sentiment, inputs="text", outputs="text", title="Financial Sentiment Analysis", description="Enter a sentence to analyze its sentiment using two different models."
|
| 17 |
|
| 18 |
# Launch the interface
|
| 19 |
iface.launch()
|
|
|
|
| 13 |
"mr8488": f"{result2['label']} ({result2['score']:.2f})"}
|
| 14 |
|
| 15 |
# Create the Gradio interface
|
| 16 |
+
iface = gr.Interface(fn=analyze_sentiment, inputs="text", outputs="text", title="Financial Sentiment Analysis", description="Enter a sentence to analyze its sentiment using two different models.")
|
| 17 |
|
| 18 |
# Launch the interface
|
| 19 |
iface.launch()
|