nebiyu29 commited on
Commit
5bd08be
·
verified ·
1 Parent(s): 2678751

made the gr table again and removed redundant code

Browse files
Files changed (1) hide show
  1. app.py +2 -7
app.py CHANGED
@@ -27,13 +27,8 @@ def model_classifier(text):
27
 
28
 
29
  #lets define how the output looks like
30
- output_format=gr.Tabs(label="label probabilities",
31
- columns=["label","probabilities"],
32
- type="table",
33
- show_index=False,
34
- input_type="json",
35
- max_rows=4,
36
- max_columms=2
37
  )
38
 
39
  #lets write something that accepts input as text and returns the most likely out come out of 3
 
27
 
28
 
29
  #lets define how the output looks like
30
+ output_format=gr.Table(
31
+ columns=["label","probabilities"]
 
 
 
 
 
32
  )
33
 
34
  #lets write something that accepts input as text and returns the most likely out come out of 3