Update app.py
Browse files
app.py
CHANGED
@@ -23,9 +23,9 @@ def deuncase(model, tokenizer, text):
|
|
23 |
def change_mytext():
|
24 |
global option_changed
|
25 |
option_changed = 1
|
26 |
-
st.write(f"inside function={option}")
|
27 |
|
28 |
-
st.write(f"outside function={option_changed}")
|
29 |
|
30 |
|
31 |
st.title("DeUnCaser")
|
@@ -59,6 +59,7 @@ elif unspace:
|
|
59 |
mytext = mytext.replace(" ", "")
|
60 |
|
61 |
text = st.text_area(f"",max_chars=1000, value=mytext)
|
|
|
62 |
|
63 |
run = st.button('Run DeUnCaser')
|
64 |
|
|
|
23 |
def change_mytext():
|
24 |
global option_changed
|
25 |
option_changed = 1
|
26 |
+
#st.write(f"inside function={option}")
|
27 |
|
28 |
+
#st.write(f"outside function={option_changed}")
|
29 |
|
30 |
|
31 |
st.title("DeUnCaser")
|
|
|
59 |
mytext = mytext.replace(" ", "")
|
60 |
|
61 |
text = st.text_area(f"",max_chars=1000, value=mytext)
|
62 |
+
text = mytext
|
63 |
|
64 |
run = st.button('Run DeUnCaser')
|
65 |
|