Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -14,6 +14,7 @@ def encoder(text):
|
|
14 |
def predict(text):
|
15 |
encoded_text = encoder(text)
|
16 |
#print(encoded_text)
|
|
|
17 |
prediction = (model.predict(encoded_text))
|
18 |
return prediction
|
19 |
#prediction = np.round(prediction)
|
|
|
14 |
def predict(text):
|
15 |
encoded_text = encoder(text)
|
16 |
#print(encoded_text)
|
17 |
+
|
18 |
prediction = (model.predict(encoded_text))
|
19 |
return prediction
|
20 |
#prediction = np.round(prediction)
|