Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -43,8 +43,7 @@ def predict_sentiment(sentence = "Volim ti"):
|
|
43 |
}
|
44 |
|
45 |
features_dict = convert_to_features(dataset_dict, convert_func_dict)
|
46 |
-
|
47 |
-
return features_dict
|
48 |
predictions = []
|
49 |
features_dict = predict()
|
50 |
for _, batch in enumerate(features_dict["document"]['test']):
|
|
|
43 |
}
|
44 |
|
45 |
features_dict = convert_to_features(dataset_dict, convert_func_dict)
|
46 |
+
|
|
|
47 |
predictions = []
|
48 |
features_dict = predict()
|
49 |
for _, batch in enumerate(features_dict["document"]['test']):
|