SoDehghan commited on
Commit
223c937
1 Parent(s): e13b601

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -32,7 +32,7 @@ if st.button("Click for predictions!", key="tr_predict"):
32
  sentiment_tr = label_dict[sentiment_tr]
33
 
34
  strength_tr = " "
35
- st.write(f"Detection: {sentiment_tr}, ' ', Strength: {strength_tr}")
36
 
37
 
38
  st.write(' ')
@@ -50,7 +50,7 @@ if st.button("Click for predictions!", key="ar_predict"):
50
  sentiment_ar = label_dict[sentiment_ar]
51
 
52
  strength_tr = " "
53
- st.write(f"Detection: {sentiment_ar}, ' ', Strength: {strength_ar}")
54
 
55
 
56
  st.sidebar.title("Hate Speech Detection")
 
32
  sentiment_tr = label_dict[sentiment_tr]
33
 
34
  strength_tr = " "
35
+ st.write(f"Detection: {sentiment_tr}, , Strength: {strength_tr}")
36
 
37
 
38
  st.write(' ')
 
50
  sentiment_ar = label_dict[sentiment_ar]
51
 
52
  strength_tr = " "
53
+ st.write(f"Detection: {sentiment_ar}, , Strength: {strength_ar}")
54
 
55
 
56
  st.sidebar.title("Hate Speech Detection")