Spaces:
Running
Running
Commit
·
eac0e79
1
Parent(s):
579e491
refactor app.py
Browse files
app.py
CHANGED
|
@@ -38,6 +38,7 @@ iface = gr.Interface(fn=predict_sentiment,
|
|
| 38 |
],
|
| 39 |
title="TinyFinBERT Sentiment Analysis",
|
| 40 |
# allow_api=True
|
|
|
|
| 41 |
)
|
| 42 |
|
| 43 |
#iface.launch()
|
|
|
|
| 38 |
],
|
| 39 |
title="TinyFinBERT Sentiment Analysis",
|
| 40 |
# allow_api=True
|
| 41 |
+
api_name="predict"
|
| 42 |
)
|
| 43 |
|
| 44 |
#iface.launch()
|