Spaces:
Sleeping
Sleeping
pr8
#8
by Mia2024 - opened
app.py
CHANGED
|
@@ -15,8 +15,14 @@ with st.form("my_input"):
|
|
| 15 |
# Every form must have a submit button.
|
| 16 |
col1, col2=st.columns(2)
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
with st.form("my_output"):
|
| 22 |
if submitted:
|
|
|
|
| 15 |
# Every form must have a submit button.
|
| 16 |
col1, col2=st.columns(2)
|
| 17 |
|
| 18 |
+
# Place a button in each column
|
| 19 |
+
with col1:
|
| 20 |
+
submitted = st.form_submit_button("Submit")
|
| 21 |
+
|
| 22 |
+
with col2:
|
| 23 |
+
clear = st.form_submit_button("Clear")
|
| 24 |
+
|
| 25 |
+
|
| 26 |
|
| 27 |
with st.form("my_output"):
|
| 28 |
if submitted:
|