Update app.py
Browse files
app.py
CHANGED
@@ -93,9 +93,7 @@ def predict_sentiment(sentence):
|
|
93 |
)
|
94 |
|
95 |
outputs, [] = engine.predict_fn(test_data_loader, model, device)
|
96 |
-
|
97 |
-
outputs = classifier(sentence)
|
98 |
-
|
99 |
print(outputs)
|
100 |
return outputs #{"label":outputs[0]}
|
101 |
|
|
|
93 |
)
|
94 |
|
95 |
outputs, [] = engine.predict_fn(test_data_loader, model, device)
|
96 |
+
|
|
|
|
|
97 |
print(outputs)
|
98 |
return outputs #{"label":outputs[0]}
|
99 |
|