david-oplatka commited on
Commit
4f043ae
·
1 Parent(s): 750a384

Edit app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -13,6 +13,9 @@ from vectara_agent.agent import AgentStatusType
13
 
14
  from agent import initialize_agent, get_agent_config
15
 
 
 
 
16
  # Setup for HTTP API Calls to Amplitude Analytics
17
  if 'device_id' not in st.session_state:
18
  st.session_state.device_id = str(uuid.uuid4())
@@ -49,8 +52,6 @@ def thumbs_feedback(feedback, **kwargs):
49
  if "feedback_key" not in st.session_state:
50
  st.session_state.feedback_key = 0
51
 
52
- initial_prompt = "How can I help you today?"
53
-
54
  def toggle_logs():
55
  st.session_state.show_logs = not st.session_state.show_logs
56
 
 
13
 
14
  from agent import initialize_agent, get_agent_config
15
 
16
+
17
+ initial_prompt = "How can I help you today?"
18
+
19
  # Setup for HTTP API Calls to Amplitude Analytics
20
  if 'device_id' not in st.session_state:
21
  st.session_state.device_id = str(uuid.uuid4())
 
52
  if "feedback_key" not in st.session_state:
53
  st.session_state.feedback_key = 0
54
 
 
 
55
  def toggle_logs():
56
  st.session_state.show_logs = not st.session_state.show_logs
57