Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ def get_prediction(model_id):
|
|
22 |
def predict(review):
|
23 |
prediction = classifier(review)
|
24 |
print(prediction)
|
25 |
-
return
|
26 |
return predict
|
27 |
|
28 |
with app:
|
|
|
22 |
def predict(review):
|
23 |
prediction = classifier(review)
|
24 |
print(prediction)
|
25 |
+
return prediction
|
26 |
return predict
|
27 |
|
28 |
with app:
|