Spaces:
Sleeping
Sleeping
new file
Browse files
app.py
CHANGED
@@ -19,21 +19,12 @@ st.title("💬 ExpressMood")
|
|
19 |
#@st.cache_resource
|
20 |
if "chat_history" not in st.session_state:
|
21 |
st.session_state["messages"] = [{"role":"system", "content":"""
|
22 |
-
You are a sentiment analysis expert. Answer all questions related to
|
23 |
"""}]
|
24 |
|
25 |
-
|
26 |
-
st.session_state['count'] = 0
|
27 |
|
28 |
-
|
29 |
-
if 'key' not in st.session_state:
|
30 |
-
st.session_state['key'] = 'value'
|
31 |
-
|
32 |
-
# Session State also supports the attribute based syntax
|
33 |
-
if 'key' not in st.session_state:
|
34 |
-
st.session_state.key = 'value'
|
35 |
-
|
36 |
-
#st.image('el_pic.png')
|
37 |
|
38 |
sideb=st.sidebar
|
39 |
with st.sidebar:
|
|
|
19 |
#@st.cache_resource
|
20 |
if "chat_history" not in st.session_state:
|
21 |
st.session_state["messages"] = [{"role":"system", "content":"""
|
22 |
+
You are a sentiment analysis expert. Answer all questions related to the topic. Say I don't know if you don't know.
|
23 |
"""}]
|
24 |
|
25 |
+
initialize_session_state()
|
|
|
26 |
|
27 |
+
st.image('el_pic.png')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
|
29 |
sideb=st.sidebar
|
30 |
with st.sidebar:
|