Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ text = textbox.text_area(f"",max_chars=1000)
|
|
50 |
if unpunct:
|
51 |
trans_chars = "'\",.:;-_*?/\n"
|
52 |
trans_table = text.maketrans("", "", trans_chars)
|
53 |
-
mytext =
|
54 |
st.write("was here")
|
55 |
|
56 |
#if unspace:
|
|
|
50 |
if unpunct:
|
51 |
trans_chars = "'\",.:;-_*?/\n"
|
52 |
trans_table = text.maketrans("", "", trans_chars)
|
53 |
+
mytext = text.translate(trans_table)
|
54 |
st.write("was here")
|
55 |
|
56 |
#if unspace:
|