Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -83,7 +83,7 @@ st.write(" ")
|
|
| 83 |
st.write(" ")
|
| 84 |
st.header('Sentiment: Emotion Analyses', divider='rainbow')
|
| 85 |
st.write('Write or paste any number of document texts to analyse the emotion percentage with your document')
|
| 86 |
-
st.write('
|
| 87 |
|
| 88 |
# # Define the sample text
|
| 89 |
# sample_text = ("Once, in a small village nestled in the rolling hills of Tuscany, lived an elderly woman named Isabella. "
|
|
@@ -111,13 +111,13 @@ user_input = ""
|
|
| 111 |
# life = st.checkbox("Sample 2")
|
| 112 |
|
| 113 |
option = st.selectbox(
|
| 114 |
-
"Select sample texts analyse emotion 👉",
|
| 115 |
(
|
| 116 |
"Sample 1: Getting late for a meeting",
|
| 117 |
"Sample 2: I consider myself an observant"
|
| 118 |
),
|
| 119 |
index=None,
|
| 120 |
-
placeholder="Select
|
| 121 |
)
|
| 122 |
|
| 123 |
|
|
|
|
| 83 |
st.write(" ")
|
| 84 |
st.header('Sentiment: Emotion Analyses', divider='rainbow')
|
| 85 |
st.write('Write or paste any number of document texts to analyse the emotion percentage with your document')
|
| 86 |
+
st.write('')
|
| 87 |
|
| 88 |
# # Define the sample text
|
| 89 |
# sample_text = ("Once, in a small village nestled in the rolling hills of Tuscany, lived an elderly woman named Isabella. "
|
|
|
|
| 111 |
# life = st.checkbox("Sample 2")
|
| 112 |
|
| 113 |
option = st.selectbox(
|
| 114 |
+
"Select sample texts to analyse emotion 👉 :sunglasses: :smile: :angry: :disappointed: :fearful: :rage: :weary: :cry: :sweat_smile: :neutral_face: :blush: :heart_eyes: :innocent: :satisfied: :joy:",
|
| 115 |
(
|
| 116 |
"Sample 1: Getting late for a meeting",
|
| 117 |
"Sample 2: I consider myself an observant"
|
| 118 |
),
|
| 119 |
index=None,
|
| 120 |
+
placeholder="Select...",
|
| 121 |
)
|
| 122 |
|
| 123 |
|