ldhldh commited on
Commit
c661741
β€’
1 Parent(s): a41beec

Update app.py

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