Update app.py
Browse files
app.py
CHANGED
@@ -67,7 +67,7 @@ def sentence_prediction(sentence):
|
|
67 |
|
68 |
# outputs, [] = engine.predict_fn(test_data_loader, MODEL, device)
|
69 |
|
70 |
-
outputs = sentiment(
|
71 |
|
72 |
print(outputs)
|
73 |
return outputs #{"label":outputs[0]}
|
|
|
67 |
|
68 |
# outputs, [] = engine.predict_fn(test_data_loader, MODEL, device)
|
69 |
|
70 |
+
outputs = sentiment(sentence)
|
71 |
|
72 |
print(outputs)
|
73 |
return outputs #{"label":outputs[0]}
|