Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ analyzer = pipeline(
|
|
20 |
)
|
21 |
|
22 |
def predict_sentiment(x):
|
23 |
-
print(
|
24 |
return label2id[analyzer(x)[0]["label"]]
|
25 |
|
26 |
|
|
|
20 |
)
|
21 |
|
22 |
def predict_sentiment(x):
|
23 |
+
print(analyzer(x))
|
24 |
return label2id[analyzer(x)[0]["label"]]
|
25 |
|
26 |
|