SoDehghan commited on
Commit
777fc73
β€’
1 Parent(s): 14a634a

Update models/hsd_tr.py

Browse files
Files changed (1) hide show
  1. models/hsd_tr.py +2 -2
models/hsd_tr.py CHANGED
@@ -26,8 +26,8 @@ def write():
26
  strength_tr = result_strength_tr[0]["label"]
27
  label_dict_strength = {'LABEL_0': 'Strength: 0', 'LABEL_1': 'Strength: 1', 'LABEL_2': 'Strength: 2','LABEL_3': 'Strength: 3', 'LABEL_4': 'Strength: 4'} #🚫
28
  strength_tr = label_dict_strength[strength_tr]
29
- st.write(sentiment_tr, ' | ' , strength_tr)
30
- #st.write(strength_tr)
31
 
32
  #st.success(sentiment_tr)
33
  #st.success(strength_tr)
 
26
  strength_tr = result_strength_tr[0]["label"]
27
  label_dict_strength = {'LABEL_0': 'Strength: 0', 'LABEL_1': 'Strength: 1', 'LABEL_2': 'Strength: 2','LABEL_3': 'Strength: 3', 'LABEL_4': 'Strength: 4'} #🚫
28
  strength_tr = label_dict_strength[strength_tr]
29
+ st.write(sentiment_tr)
30
+ st.write(strength_tr)
31
 
32
  #st.success(sentiment_tr)
33
  #st.success(strength_tr)