pere commited on
Commit
640125c
·
1 Parent(s): d4340c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -6
app.py CHANGED
@@ -47,18 +47,20 @@ st.text("Fixed text: ")
47
 
48
  form = st.form(key='my_form')
49
  form.text_input(label='Enter some text')
50
- submit_button = form.form_submit_button(label='Submit')
51
- #https://blog.streamlit.io/introducing-submit-button-and-forms/
52
 
53
  #More stuff to try
54
- col1, col2, col3 = st.columns([1,1,1])
55
 
56
  with col1:
57
- st.button('1')
58
  with col2:
59
- st.button('2')
60
  with col3:
61
- st.button('3')
 
 
 
62
 
63
 
64
  if text:
 
47
 
48
  form = st.form(key='my_form')
49
  form.text_input(label='Enter some text')
50
+
 
51
 
52
  #More stuff to try
53
+ col1, col2, col3 = form.columns([1,1,1])
54
 
55
  with col1:
56
+ form.button('1')
57
  with col2:
58
+ form.button('2')
59
  with col3:
60
+ form.button('3')
61
+
62
+ submit_button = form.form_submit_button(label='Submit')
63
+ #https://blog.streamlit.io/introducing-submit-button-and-forms/
64
 
65
 
66
  if text: