Matt09Miao commited on
Commit
010cbc6
·
verified ·
1 Parent(s): d656ec6

Update app.py

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