Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,6 +51,7 @@ def evaluate(sentence):
|
|
| 51 |
prediction = transformer(inputs, False)
|
| 52 |
|
| 53 |
prediction = tf.round(prediction)
|
|
|
|
| 54 |
if prediction == 0:
|
| 55 |
return"Negative"
|
| 56 |
else:
|
|
|
|
| 51 |
prediction = transformer(inputs, False)
|
| 52 |
|
| 53 |
prediction = tf.round(prediction)
|
| 54 |
+
print(prediction)
|
| 55 |
if prediction == 0:
|
| 56 |
return"Negative"
|
| 57 |
else:
|