Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ def predict(text):
|
|
| 10 |
gr.Interface(
|
| 11 |
predict,
|
| 12 |
inputs="textbox",
|
| 13 |
-
outputs=
|
| 14 |
theme="huggingface",
|
| 15 |
title="Banking Intent Classifier",
|
| 16 |
description="Try to classify customer queries",
|
|
|
|
| 10 |
gr.Interface(
|
| 11 |
predict,
|
| 12 |
inputs="textbox",
|
| 13 |
+
outputs=gr.outputs.Label(num_top_classes=1),
|
| 14 |
theme="huggingface",
|
| 15 |
title="Banking Intent Classifier",
|
| 16 |
description="Try to classify customer queries",
|