Pendrokar commited on
Commit
a00765b
1 Parent(s): 20106f5

output_text string

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -14,7 +14,7 @@ def predict(deepmoji_analysis):
14
 
15
  output_text = ""
16
  for p in predictions:
17
- output_text += p['label'] + p['score'] + "\n"
18
  return output_text
19
 
20
  gradio_app = gr.Interface(
 
14
 
15
  output_text = ""
16
  for p in predictions:
17
+ output_text += p['label'] + ' (' + str(p['score']) + ")\n"
18
  return output_text
19
 
20
  gradio_app = gr.Interface(