AEUPH commited on
Commit
5f3be46
·
verified ·
1 Parent(s): c1c1415

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import re
6
 
7
  def filter_non_alphanumeric(text):
8
  # Use regular expressions to filter out non-alphanumeric characters
9
- alphanumeric_text = re.sub(r'[^a-zA-Z0-9\s]', '', text)
10
  return alphanumeric_text
11
 
12
  def send_to_corrade(filtered_response):
 
6
 
7
  def filter_non_alphanumeric(text):
8
  # Use regular expressions to filter out non-alphanumeric characters
9
+ alphanumeric_text = re.sub(r'[^a-zA-Z0-9\s.,?!\'"]', '', text)
10
  return alphanumeric_text
11
 
12
  def send_to_corrade(filtered_response):