Update app.py
Browse files
app.py
CHANGED
@@ -47,10 +47,12 @@ st.text("Fixed 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 =
|
54 |
|
55 |
with col1:
|
56 |
at.button('1')
|
@@ -59,9 +61,6 @@ with col2:
|
|
59 |
with col3:
|
60 |
st.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:
|
67 |
model, tokenizer = load_model()
|
|
|
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 |
|
54 |
#More stuff to try
|
55 |
+
col1, col2, col3 = st.columns([1,1,1])
|
56 |
|
57 |
with col1:
|
58 |
at.button('1')
|
|
|
61 |
with col3:
|
62 |
st.button('3')
|
63 |
|
|
|
|
|
|
|
64 |
|
65 |
if text:
|
66 |
model, tokenizer = load_model()
|