pere commited on
Commit
decd3a3
1 Parent(s): fd2a20a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -28
app.py CHANGED
@@ -35,41 +35,17 @@ optionx = st.sidebar.selectbox(
35
 
36
  st.sidebar.write("You can use the examples above, but for best effect: Copy text from the Internet, and remove spaces, puctation, cases etc. Try to restore the text.")
37
 
38
- #col1, col2, col3 = st.columns([1,1,1])
39
- #with col1:
40
- # st.button('Remove Casing')
41
- #with col2:
42
- # st.button('Remove Punctation')
43
- #with col3:
44
- # st.button('Remove Spaces')
45
-
46
- text = st.text_area(f"Corrupted text: ",key="ta" ,max_chars=1000, value= "No text in here…")
47
-
48
- run = st.button("Run DeUnCaser")
49
-
50
  col1, col2, col3 = st.columns([1,1,1])
51
-
52
  with col1:
53
- st.button('1')
54
  with col2:
55
- st.button('2')
56
  with col3:
57
- st.button('3')
58
-
59
 
60
- col4, col5, col6 = st.columns(3)
61
-
62
- with col4:
63
- st.header("A cat")
64
- st.image("https://static.streamlit.io/examples/cat.jpg")
65
 
66
- with col5:
67
- st.header("A dog")
68
- st.image("https://static.streamlit.io/examples/dog.jpg")
69
 
70
- with col6:
71
- st.header("An owl")
72
- st.image("https://static.streamlit.io/examples/owl.jpg")
73
 
74
  #st.text("Fixed text: ")
75
 
 
35
 
36
  st.sidebar.write("You can use the examples above, but for best effect: Copy text from the Internet, and remove spaces, puctation, cases etc. Try to restore the text.")
37
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  col1, col2, col3 = st.columns([1,1,1])
 
39
  with col1:
40
+ st.button('Remove Casing')
41
  with col2:
42
+ st.button('Remove Punctation')
43
  with col3:
44
+ st.button('Remove Spaces')
 
45
 
46
+ text = st.text_area(f"Corrupted text: ",key="ta" ,max_chars=1000, value= "No text in here…")
 
 
 
 
47
 
 
 
 
48
 
 
 
 
49
 
50
  #st.text("Fixed text: ")
51