Spaces:
Runtime error
Runtime error
Update app.py
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.outputs.
|
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.outputs.Dataframe(row_count=(3,"dynamic"),col_count=(2,"fixed"),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(
|