pere commited on
Commit
21b9d0b
·
1 Parent(s): 1d15227

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ if uncase:
42
  st.write("uncase is pressed, and mytext ="+ mytext)
43
  elif unpunct:
44
  trans_chars = "'\",.:;-_*?/\n"
45
- trans_table = source.maketrans("", "", trans_chars)
46
  mytext = mytext.translate(trans_table)
47
  elif unspace:
48
  st.write("test3")
 
42
  st.write("uncase is pressed, and mytext ="+ mytext)
43
  elif unpunct:
44
  trans_chars = "'\",.:;-_*?/\n"
45
+ trans_table = mytext.maketrans("", "", trans_chars)
46
  mytext = mytext.translate(trans_table)
47
  elif unspace:
48
  st.write("test3")