Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def deuncase(model, tokenizer, text):
|
|
20 |
return tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
|
21 |
|
22 |
def spaces():
|
23 |
-
|
24 |
return None
|
25 |
|
26 |
st.title("DeUnCaser")
|
@@ -47,7 +47,7 @@ if button2:
|
|
47 |
st.text("Fixed text: ")
|
48 |
|
49 |
form = st.form(key='my_form')
|
50 |
-
|
51 |
submit_button = form.form_submit_button(label='Submit')
|
52 |
#https://blog.streamlit.io/introducing-submit-button-and-forms/
|
53 |
|
|
|
20 |
return tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
|
21 |
|
22 |
def spaces():
|
23 |
+
ti.value= "About"
|
24 |
return None
|
25 |
|
26 |
st.title("DeUnCaser")
|
|
|
47 |
st.text("Fixed text: ")
|
48 |
|
49 |
form = st.form(key='my_form')
|
50 |
+
form.text_input(value="test",key="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 |
|