Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -57,8 +57,7 @@ def preprocess_text(text):
|
|
57 |
return ' '.join(lemma_words)
|
58 |
|
59 |
def sentiment_analysis(text):
|
60 |
-
|
61 |
-
# print(text)
|
62 |
text = cv.transform([preprocess_text(text)])
|
63 |
pred_prob = model.predict_proba(text)[0]
|
64 |
|
|
|
57 |
return ' '.join(lemma_words)
|
58 |
|
59 |
def sentiment_analysis(text):
|
60 |
+
|
|
|
61 |
text = cv.transform([preprocess_text(text)])
|
62 |
pred_prob = model.predict_proba(text)[0]
|
63 |
|