Namitg02 commited on
Commit
7c1ba5c
·
verified ·
1 Parent(s): 7dec8b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -149,7 +149,7 @@ def talk(prompt, history):
149
  pprint.pprint(stream)
150
  text = ""
151
  for output in stream:
152
- text += output['choices'][0]['message']['content']
153
  yield text
154
 
155
  # preparing tokens for model input
 
149
  pprint.pprint(stream)
150
  text = ""
151
  for output in stream:
152
+ text += output['choices'][0]['message']
153
  yield text
154
 
155
  # preparing tokens for model input