Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -223,6 +223,7 @@ with gr.Blocks(title="📰 News Sentiment Analyzer") as demo:
|
|
| 223 |
- **RoBERTa**: Twitter-based sentiment model (negative, neutral, positive)
|
| 224 |
- **Siebert**: Large-scale sentiment model (negative, positive)
|
| 225 |
""")
|
|
|
|
| 226 |
|
| 227 |
with gr.Row():
|
| 228 |
with gr.Column(scale=2):
|
|
|
|
| 223 |
- **RoBERTa**: Twitter-based sentiment model (negative, neutral, positive)
|
| 224 |
- **Siebert**: Large-scale sentiment model (negative, positive)
|
| 225 |
""")
|
| 226 |
+
gr.api(api_predict, api_name="predict")
|
| 227 |
|
| 228 |
with gr.Row():
|
| 229 |
with gr.Column(scale=2):
|