Spaces:
Runtime error
Runtime error
Commit
·
af8323b
1
Parent(s):
539f475
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,9 +15,8 @@ examples = [
|
|
| 15 |
]
|
| 16 |
|
| 17 |
def sentiment_analysis(text):
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
return scores
|
| 21 |
|
| 22 |
demo = gr.Interface(
|
| 23 |
fn=sentiment_analysis,
|
|
|
|
| 15 |
]
|
| 16 |
|
| 17 |
def sentiment_analysis(text):
|
| 18 |
+
output = sentiment(text)
|
| 19 |
+
return output
|
|
|
|
| 20 |
|
| 21 |
demo = gr.Interface(
|
| 22 |
fn=sentiment_analysis,
|