ldhldh commited on
Commit
ed1aa4b
Β·
1 Parent(s): da9f163

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def chat(x):
53
  1.1, # float, representing input in 'repetition_penalty' Slider component
54
  fn_index=0
55
  )
56
- output = result[len(x)-2:]
57
  outout = re.sub("[ν•˜ν•˜]", "γ…Žγ…Ž", output)
58
  output = output.split('<|endoftext|>')[0]
59
  output = output.split('\n')[0]
 
53
  1.1, # float, representing input in 'repetition_penalty' Slider component
54
  fn_index=0
55
  )
56
+ output = result[len(x)-3:]
57
  outout = re.sub("[ν•˜ν•˜]", "γ…Žγ…Ž", output)
58
  output = output.split('<|endoftext|>')[0]
59
  output = output.split('\n')[0]