ldhldh commited on
Commit
334a56d
Β·
1 Parent(s): 21c3384

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ def chat(x):
57
  outout = re.sub("[ν•˜ν•˜]", "γ…Žγ…Ž", output)
58
  output = output.split('<|endoftext|>')[0]
59
  output = output.split('\n')[0]
60
- output = re.sub()('[=+#/\:@*\"β€»γ†γ€β€˜|\\\<\>\(\)\[\]`\'…》\”\β€œ\’·]', ' ', output)
61
  output = re.sub('[a-zA-Z]',' ',output)
62
  return output
63
 
 
57
  outout = re.sub("[ν•˜ν•˜]", "γ…Žγ…Ž", output)
58
  output = output.split('<|endoftext|>')[0]
59
  output = output.split('\n')[0]
60
+ output = re.sub('[=+#/\:@*\"β€»γ†γ€β€˜|\\\<\>\(\)\[\]`\'…》\”\β€œ\’·]', ' ', output)
61
  output = re.sub('[a-zA-Z]',' ',output)
62
  return output
63