Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,7 +37,7 @@ def predict(your_text):
|
|
| 37 |
|
| 38 |
# print predicted class
|
| 39 |
i = np.argmax(y_pred_logits)
|
| 40 |
-
print(f"Predicted class: {labels[i]} with proba {y_probs[i]}
|
| 41 |
|
| 42 |
|
| 43 |
iface = gr.Interface(fn=predict, inputs="text", outputs="text")
|
|
|
|
| 37 |
|
| 38 |
# print predicted class
|
| 39 |
i = np.argmax(y_pred_logits)
|
| 40 |
+
print(f"Predicted class: {labels[i]} with proba {y_probs[i]}")
|
| 41 |
|
| 42 |
|
| 43 |
iface = gr.Interface(fn=predict, inputs="text", outputs="text")
|