Chris4K commited on
Commit
1292ade
·
verified ·
1 Parent(s): 2ab1dbf

Update app_chat.py

Browse files
Files changed (1) hide show
  1. app_chat.py +2 -1
app_chat.py CHANGED
@@ -26,7 +26,6 @@ import plotly.express as px
26
  import pydeck as pdk
27
 
28
  # Call app_agent_config to set the global variables
29
- app_agent_config()
30
 
31
  def app_chat():
32
 
@@ -47,6 +46,8 @@ def app_chat():
47
 
48
  selected_tools = [tool_loader.tools[idx] for idx, checkbox in enumerate(tool_checkboxes) if checkbox]
49
  # Handle submission with the selected inference URL
 
 
50
  response = handle_submission(user_message, selected_tools, url_endpoint)
51
 
52
  with st.chat_message("assistant"):
 
26
  import pydeck as pdk
27
 
28
  # Call app_agent_config to set the global variables
 
29
 
30
  def app_chat():
31
 
 
46
 
47
  selected_tools = [tool_loader.tools[idx] for idx, checkbox in enumerate(tool_checkboxes) if checkbox]
48
  # Handle submission with the selected inference URL
49
+ app_agent_config()
50
+
51
  response = handle_submission(user_message, selected_tools, url_endpoint)
52
 
53
  with st.chat_message("assistant"):