ldhldh commited on
Commit
4042f12
Β·
1 Parent(s): 9eb39ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ def chat(x):
54
  fn_index=0
55
  )
56
  result = str(result)
57
- output = result[len(x)-3:]
58
  outout = re.sub("[ν•˜ν•˜]", "γ…Žγ…Ž", output)
59
  output = output.split('<|endoftext|>')[0]
60
  output = output.split('\n')[0]
 
54
  fn_index=0
55
  )
56
  result = str(result)
57
+ output = result[len(x)-4:]
58
  outout = re.sub("[ν•˜ν•˜]", "γ…Žγ…Ž", output)
59
  output = output.split('<|endoftext|>')[0]
60
  output = output.split('\n')[0]