Spaces:
Sleeping
Sleeping
Debugging app.py.
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ def vectorize_text(text):
|
|
40 |
|
41 |
def predict(text):
|
42 |
text = vectorize_text(text)
|
43 |
-
prediction = model.predict(text)
|
44 |
return prediction
|
45 |
|
46 |
|
|
|
40 |
|
41 |
def predict(text):
|
42 |
text = vectorize_text(text)
|
43 |
+
prediction = model.predict(text).tostring()
|
44 |
return prediction
|
45 |
|
46 |
|