ldhldh commited on
Commit
6880e23
Β·
1 Parent(s): 02dc7d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -53,6 +53,7 @@ def chat(x):
53
  1.08, # 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]
 
53
  1.08, # float, representing input in 'repetition_penalty' Slider component
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]