Spaces:
Sleeping
Sleeping
Sreekannan
commited on
Commit
·
563e6ac
1
Parent(s):
42af022
Update app.py
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ def main():
|
|
30 |
if text.strip() != "":
|
31 |
emotion_detail, confidence_score = get_emotion(text)
|
32 |
st.write("Detected Emotion")
|
33 |
-
st.write(f"{emotion_detail
|
34 |
else:
|
35 |
st.write("Please enter some text.")
|
36 |
|
|
|
30 |
if text.strip() != "":
|
31 |
emotion_detail, confidence_score = get_emotion(text)
|
32 |
st.write("Detected Emotion")
|
33 |
+
st.write(f"{emotion_detail} - {confidence_score}")
|
34 |
else:
|
35 |
st.write("Please enter some text.")
|
36 |
|