Chris4K commited on
Commit
59f5c48
·
verified ·
1 Parent(s): 11e5281

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -118,7 +118,7 @@ submit_button = st.button("Submit")
118
  # Define the callback function to handle the form submission
119
  def handle_submission():
120
  selected_tools = [tools[idx] for idx, checkbox in enumerate(tool_checkboxes) if checkbox]
121
-
122
  # Initialize the agent
123
  agent = CustomHfAgent(
124
  url_endpoint="https://api-inference.huggingface.co/models/bigcode/starcoder",
 
118
  # Define the callback function to handle the form submission
119
  def handle_submission():
120
  selected_tools = [tools[idx] for idx, checkbox in enumerate(tool_checkboxes) if checkbox]
121
+ print(selected_tools)
122
  # Initialize the agent
123
  agent = CustomHfAgent(
124
  url_endpoint="https://api-inference.huggingface.co/models/bigcode/starcoder",