Update app.py
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ message_input = st.text_input("Enter your message:", "")
|
|
68 |
tool_checkboxes = [st.checkbox(f"Use {tool}") for tool in tools]
|
69 |
|
70 |
# Submit button
|
71 |
-
submit_button = st.button("Submit")
|
72 |
|
73 |
# Define the callback function to handle the form submission
|
74 |
def handle_submission():
|
@@ -97,6 +97,7 @@ def handle_submission():
|
|
97 |
#st.button("Ask Again
|
98 |
#st.button("Ask Again", key="ask_again_btn")
|
99 |
|
|
|
100 |
|
101 |
# Define a callback function to handle the button click
|
102 |
def ask_again():
|
|
|
68 |
tool_checkboxes = [st.checkbox(f"Use {tool}") for tool in tools]
|
69 |
|
70 |
# Submit button
|
71 |
+
#submit_button = st.button("Submit")
|
72 |
|
73 |
# Define the callback function to handle the form submission
|
74 |
def handle_submission():
|
|
|
97 |
#st.button("Ask Again
|
98 |
#st.button("Ask Again", key="ask_again_btn")
|
99 |
|
100 |
+
st.button("Ask Again")(handle_submission)
|
101 |
|
102 |
# Define a callback function to handle the button click
|
103 |
def ask_again():
|