ldhldh commited on
Commit
7d87451
Β·
1 Parent(s): 4b858e4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -63,7 +63,7 @@ def chat(x):
63
  output = output.split('띓')[0]
64
  output = output.split('endoftext')[0]
65
  output = re.sub('[=+#/\:@*\"β€»γ†γ€β€˜|\\\<\>\(\)\[\]`\'…》\”\β€œ\’·]', ' ', output)
66
- #output = re.sub('[a-zA-Z]',' ',output)
67
 
68
  return output
69
 
 
63
  output = output.split('띓')[0]
64
  output = output.split('endoftext')[0]
65
  output = re.sub('[=+#/\:@*\"β€»γ†γ€β€˜|\\\<\>\(\)\[\]`\'…》\”\β€œ\’·]', ' ', output)
66
+ output = re.sub('[a-zA-Z]',' ',output)
67
 
68
  return output
69