Update app.py
Browse files
app.py
CHANGED
@@ -50,6 +50,17 @@ 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 |
if text:
|
54 |
model, tokenizer = load_model()
|
55 |
translated_text = deuncase(model, tokenizer, 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:
|
65 |
model, tokenizer = load_model()
|
66 |
translated_text = deuncase(model, tokenizer, text)
|