Matt09Miao commited on
Commit
ffe91fc
·
verified ·
1 Parent(s): 2ac75f2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -15,6 +15,7 @@ result = toxic_model(input)
15
 
16
  # Display the result
17
  st.write("Tweet:", input)
18
- st.write("result", result[0])
 
19
 
20
 
 
15
 
16
  # Display the result
17
  st.write("Tweet:", input)
18
+ st.write("label:", result[0]['label'])
19
+ st.write("score:", result[0]['score'])
20
 
21