Monster commited on
Commit
671e7df
1 Parent(s): efae85d

Update app.py

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