Chris4K commited on
Commit
8fe5a03
·
verified ·
1 Parent(s): 4541439

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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():