nebiyu29 commited on
Commit
c96e178
1 Parent(s): 3fcc24f

changes the output into proper format

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.outputs.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(
 
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(