ldhldh commited on
Commit
883fd24
β€’
1 Parent(s): 4fe2d13

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -62,8 +62,8 @@ def chat(x):
62
  output = re.sub('ν•˜ν•˜','γ…Žγ…Ž', output)
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
 
 
62
  output = re.sub('ν•˜ν•˜','γ…Žγ…Ž', output)
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