Spaces:
Sleeping
Sleeping
nan-motherboard
commited on
Commit
·
1203224
1
Parent(s):
0b69aec
modify5
Browse files
app.py
CHANGED
@@ -13,9 +13,10 @@ with st.form("my_input"):
|
|
13 |
hobby=st.text_input("hobby")
|
14 |
|
15 |
# Every form must have a submit button.
|
16 |
-
|
17 |
-
|
18 |
-
|
|
|
19 |
|
20 |
with st.form("my_output"):
|
21 |
if submitted:
|
|
|
13 |
hobby=st.text_input("hobby")
|
14 |
|
15 |
# Every form must have a submit button.
|
16 |
+
col1, col2=st.columns(2)
|
17 |
+
|
18 |
+
submitted = st.form_submit_button("Submit")
|
19 |
+
clear = st.form_submit_button("Clear")
|
20 |
|
21 |
with st.form("my_output"):
|
22 |
if submitted:
|