Spaces:
Runtime error
Runtime error
changed it back to 2 again but its still dynamic
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ def model_classifier(text):
|
|
| 27 |
|
| 28 |
|
| 29 |
#lets define how the output looks like
|
| 30 |
-
output_format=gr.Dataframe(row_count=(3,"dynamic"),col_count=(
|
| 31 |
|
| 32 |
#lets write something that accepts input as text and returns the most likely out come out of 3
|
| 33 |
demo=gr.Interface(
|
|
|
|
| 27 |
|
| 28 |
|
| 29 |
#lets define how the output looks like
|
| 30 |
+
output_format=gr.Dataframe(row_count=(3,"dynamic"),col_count=(2,"dynamic"),label="label probabilities",headers=["label","probabilities"])
|
| 31 |
|
| 32 |
#lets write something that accepts input as text and returns the most likely out come out of 3
|
| 33 |
demo=gr.Interface(
|