pere commited on
Commit
834e40f
·
1 Parent(s): a7bd8ae

Update app.py

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