david-oplatka commited on
Commit
b8089b1
1 Parent(s): 79c9292

Edit app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -16,6 +16,9 @@ from datasets import load_dataset
16
  from vectara_agent.agent import AgentStatusType
17
  from agent import initialize_agent, get_agent_config
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,8 +55,6 @@ def thumbs_feedback(feedback, **kwargs):
52
  if "feedback_key" not in st.session_state:
53
  st.session_state.feedback_key = 0
54
 
55
- initial_prompt = "How can I help you today?"
56
-
57
  def toggle_logs():
58
  st.session_state.show_logs = not st.session_state.show_logs
59
 
 
16
  from vectara_agent.agent import AgentStatusType
17
  from agent import initialize_agent, get_agent_config
18
 
19
+
20
+ initial_prompt = "How can I help you today?"
21
+
22
  # Setup for HTTP API Calls to Amplitude Analytics
23
  if 'device_id' not in st.session_state:
24
  st.session_state.device_id = str(uuid.uuid4())
 
55
  if "feedback_key" not in st.session_state:
56
  st.session_state.feedback_key = 0
57
 
 
 
58
  def toggle_logs():
59
  st.session_state.show_logs = not st.session_state.show_logs
60