Monster commited on
Commit
d28b55b
1 Parent(s): 7c15021

I need more energy drinks!

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ theme = gr.themes.Monochrome(
37
 
38
  def generate(instruction):
39
  result = ""
40
- for x in llm(ins.format(instruction), max_tokens=2048, end=['### Instruction:', '### End'], stream=True):
41
  result += x['choices'][0]['text']
42
  yield result
43
 
 
37
 
38
  def generate(instruction):
39
  result = ""
40
+ for x in llm(ins.format(instruction), max_tokens=2048, stop=['### Instruction:', '### End'], stream=True):
41
  result += x['choices'][0]['text']
42
  yield result
43