Update app.py
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ class CustomHfAgent(Agent):
|
|
62 |
st.title("Hugging Face Agent")
|
63 |
|
64 |
# Input field for the user's message
|
65 |
-
|
66 |
|
67 |
# Checkboxes for the tools to be used by the agent
|
68 |
|
@@ -75,7 +75,7 @@ tool_checkboxes = [st.checkbox(f"Use {tool}") for tool in tools]
|
|
75 |
# Define the callback function to handle the form submission
|
76 |
def handle_submission():
|
77 |
# Get the user's message and the selected tools
|
78 |
-
message = st.text_input("Enter your message:", "")
|
79 |
|
80 |
# selected_tools = []
|
81 |
# for tool, checkbox in tool_checkboxes:
|
|
|
62 |
st.title("Hugging Face Agent")
|
63 |
|
64 |
# Input field for the user's message
|
65 |
+
message = st.text_input("Enter your message:", "")
|
66 |
|
67 |
# Checkboxes for the tools to be used by the agent
|
68 |
|
|
|
75 |
# Define the callback function to handle the form submission
|
76 |
def handle_submission():
|
77 |
# Get the user's message and the selected tools
|
78 |
+
#message = st.text_input("Enter your message:", "")
|
79 |
|
80 |
# selected_tools = []
|
81 |
# for tool, checkbox in tool_checkboxes:
|