Spaces:
Running
Running
adrianpierce
commited on
Commit
•
06748dd
1
Parent(s):
91eec6b
Update Home.py
Browse files
Home.py
CHANGED
@@ -209,9 +209,10 @@ user_inputs = {
|
|
209 |
"difficulty": st.session_state.selected_difficulty
|
210 |
}
|
211 |
|
212 |
-
button_cols = st.columns([1,
|
213 |
with button_cols[0]:
|
214 |
st.button(label='Submit', on_click=generate_recipe, kwargs=dict(user_inputs=user_inputs), type="primary", use_container_width=True)
|
|
|
215 |
st.button(label='Reset', on_click=clear_inputs, type="secondary", use_container_width=True)
|
216 |
|
217 |
if st.session_state.gpt_response is not None:
|
|
|
209 |
"difficulty": st.session_state.selected_difficulty
|
210 |
}
|
211 |
|
212 |
+
button_cols = st.columns([1, 1, 4])
|
213 |
with button_cols[0]:
|
214 |
st.button(label='Submit', on_click=generate_recipe, kwargs=dict(user_inputs=user_inputs), type="primary", use_container_width=True)
|
215 |
+
with button_cols[1]:
|
216 |
st.button(label='Reset', on_click=clear_inputs, type="secondary", use_container_width=True)
|
217 |
|
218 |
if st.session_state.gpt_response is not None:
|