pere commited on
Commit
72802bf
·
1 Parent(s): e67fd14

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -48,10 +48,12 @@ text = textbox.text_area(f"",max_chars=1000)
48
  # mytext = text.lower()
49
 
50
  if unpunct:
51
- #trans_chars = "'\",.:;-_*?/\n"
52
- #trans_table = text.maketrans("", "", trans_chars)
53
- #mytext = text.translate(trans_table)
 
54
  mytext = "pere"
 
55
  textbox.text_area(f"",max_chars=1000, value=mytext)
56
  st.write("inside unpunct")
57
 
 
48
  # mytext = text.lower()
49
 
50
  if unpunct:
51
+ trans_chars = "'\",.:;-_*?/\n"
52
+ trans_table = text.maketrans("", "", trans_chars)
53
+ mytext = text.translate(trans_table)
54
+ st.write(mytext)
55
  mytext = "pere"
56
+ st.write(mytext)
57
  textbox.text_area(f"",max_chars=1000, value=mytext)
58
  st.write("inside unpunct")
59