Spaces:
Sleeping
Sleeping
Update models/hsd_tr.py
Browse files- 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
|
30 |
-
|
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)
|