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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -48,9 +48,10 @@ 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
  textbox.text_area(f"",max_chars=1000, value=mytext)
55
  st.write("inside unpunct")
56
 
 
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