Namitg02 commited on
Commit
a35af89
·
verified ·
1 Parent(s): ac7ec9f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -150,7 +150,7 @@ def talk(prompt, history):
150
  text = []
151
  for output in stream:
152
  # text += output['choices'][0]
153
- text.append(['choices'][0])
154
  yield "".join(text)
155
  print(text)
156
  print("check3H")
 
150
  text = []
151
  for output in stream:
152
  # text += output['choices'][0]
153
+ text.append(output['choices'][0])
154
  yield "".join(text)
155
  print(text)
156
  print("check3H")