mbosse99 commited on
Commit
76d28c5
·
verified ·
1 Parent(s): 3ccb3f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -239,6 +239,7 @@ def bot(history, job, resume, job_params):
239
  )
240
  print(response["choices"][0]["message"]["content"])
241
  history[-1][1] = response["choices"][0]["message"]["content"]
 
242
  #for chunk in response:
243
  # print(chunk)
244
  # if len(chunk["choices"][0]["delta"]) != 0 and hasattr(chunk["choices"][0]["delta"], "content"):
 
239
  )
240
  print(response["choices"][0]["message"]["content"])
241
  history[-1][1] = response["choices"][0]["message"]["content"]
242
+ yield history
243
  #for chunk in response:
244
  # print(chunk)
245
  # if len(chunk["choices"][0]["delta"]) != 0 and hasattr(chunk["choices"][0]["delta"], "content"):