Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -38,6 +38,7 @@ import torch
|
|
| 38 |
from pysentimiento import create_analyzer
|
| 39 |
analyzer = create_analyzer(task="sentiment", lang="pt")
|
| 40 |
|
|
|
|
| 41 |
prever = analyzer.predict(input_text)
|
| 42 |
|
| 43 |
def get_sentiment(input_text):
|
|
|
|
| 38 |
from pysentimiento import create_analyzer
|
| 39 |
analyzer = create_analyzer(task="sentiment", lang="pt")
|
| 40 |
|
| 41 |
+
input_text = str
|
| 42 |
prever = analyzer.predict(input_text)
|
| 43 |
|
| 44 |
def get_sentiment(input_text):
|