Spaces:
Runtime error
Runtime error
changes the output into proper format
Browse files
app.py
CHANGED
|
@@ -33,7 +33,7 @@ def model_classifier(text):
|
|
| 33 |
#output_format=gr.Dataframe(row_count=(3,"dynamic"),col_count=(2,"dynamic"),label="label probabilities",headers=["label","probabilities"])
|
| 34 |
|
| 35 |
#the output looks like a json format
|
| 36 |
-
output_format=gr.
|
| 37 |
|
| 38 |
#lets write something that accepts input as text and returns the most likely out come out of 3
|
| 39 |
demo=gr.Interface(
|
|
|
|
| 33 |
#output_format=gr.Dataframe(row_count=(3,"dynamic"),col_count=(2,"dynamic"),label="label probabilities",headers=["label","probabilities"])
|
| 34 |
|
| 35 |
#the output looks like a json format
|
| 36 |
+
output_format=gr.Textbox(label="label probabilities")
|
| 37 |
|
| 38 |
#lets write something that accepts input as text and returns the most likely out come out of 3
|
| 39 |
demo=gr.Interface(
|