Update app.py
Browse files
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",
|