junming-qiu commited on
Commit
8505391
1 Parent(s): da9b562

updating table

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: