KatGaw commited on
Commit
f9f1696
1 Parent(s): ba6b805
Files changed (1) hide show
  1. app.py +3 -12
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 cryptocurrency investment reccommendations. Say I don't know if you don't know.
23
  """}]
24
 
25
- if 'count' not in st.session_state:
26
- st.session_state['count'] = 0
27
 
28
- # If not, then initialize it
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: