gilramos commited on
Commit
f286b9d
1 Parent(s): ef34b99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -36,7 +36,7 @@ def predict(text, chosen_model):
36
  label = result[0]['label']
37
  score = result[0]['score']
38
 
39
- return label, score
40
 
41
  inputs = [
42
  gr.Textbox(label="Text", value= app_examples[0][0]),
@@ -45,7 +45,7 @@ inputs = [
45
 
46
  outputs = [
47
  gr.Label(label="Result"),
48
- gr.Markdown()
49
  ]
50
 
51
 
 
36
  label = result[0]['label']
37
  score = result[0]['score']
38
 
39
+ return label#, score
40
 
41
  inputs = [
42
  gr.Textbox(label="Text", value= app_examples[0][0]),
 
45
 
46
  outputs = [
47
  gr.Label(label="Result"),
48
+ #gr.Markdown()
49
  ]
50
 
51