KiraPGR commited on
Commit
2ed61ae
·
verified ·
1 Parent(s): 97fe2b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -50,6 +50,7 @@ def predict(inputs, chatbot, system_message):
50
  if chunk.choices[0].delta.content:
51
  print(chunk.choices[0].delta.content, end="", flush=True)
52
  new_message["content"] += chunk.choices[0].delta.content
 
53
  yield new_message["content"]
54
 
55
  messages.append(new_message)
 
50
  if chunk.choices[0].delta.content:
51
  print(chunk.choices[0].delta.content, end="", flush=True)
52
  new_message["content"] += chunk.choices[0].delta.content
53
+ print(new_message["content"])
54
  yield new_message["content"]
55
 
56
  messages.append(new_message)