Junming-Qiu commited on
Commit
48e8715
2 Parent(s): b88d8f5 8505391

Merge pull request #6 from Junming-Qiu/milestone-3

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -36,7 +36,9 @@ with st.form("form"):
36
  output = [
37
  {"tweet": text,
38
  "label": predictions[0]['label'],
39
- "score" : predictions[0]['score']},
 
 
40
  ]
41
  st.table(output)
42
  else:
 
36
  output = [
37
  {"tweet": text,
38
  "label": predictions[0]['label'],
39
+ "score" : predictions[0]['score'],
40
+ "label 2": predictions[1]['label'],
41
+ "score 2" : predictions[1]['score']},
42
  ]
43
  st.table(output)
44
  else: