Chris4K commited on
Commit
403bf0c
·
verified ·
1 Parent(s): 12b11fa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ tool_checkboxes = [st.checkbox(f"Use {tool}") for tool in tools]
73
  # Define the callback function to handle the form submission
74
  def handle_submission():
75
  # Get the user's message and the selected tools
76
- message = message_input.value
77
  selected_tools = [tool for tool, checkbox in tool_checkboxes]
78
 
79
  # Initialize the agent
 
73
  # Define the callback function to handle the form submission
74
  def handle_submission():
75
  # Get the user's message and the selected tools
76
+ message = st.text_input("Enter your message:", "")
77
  selected_tools = [tool for tool, checkbox in tool_checkboxes]
78
 
79
  # Initialize the agent