Monster commited on
Commit
aeb0cec
1 Parent(s): 2351faf
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ theme = gr.themes.Monochrome(
38
  def generate(instruction):
39
  result = ""
40
  for x in llm(ins.format(instruction), stream=True):
41
- result += x
42
  yield result
43
 
44
 
 
38
  def generate(instruction):
39
  result = ""
40
  for x in llm(ins.format(instruction), stream=True):
41
+ result += x['choices'][0]['text']
42
  yield result
43
 
44