matthoffner commited on
Commit
7229992
ยท
1 Parent(s): cd842ff

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -54,7 +54,7 @@ async def chat(request: ChatCompletionRequest, response_mode=None):
54
  yield dict(data=json.dumps(chat_chunk))
55
  yield dict(data="[DONE]")
56
 
57
- chunks = completion_or_chunks
58
 
59
  return EventSourceResponse(
60
  server_sent_events(chunks),
 
54
  yield dict(data=json.dumps(chat_chunk))
55
  yield dict(data="[DONE]")
56
 
57
+ chunks = completion
58
 
59
  return EventSourceResponse(
60
  server_sent_events(chunks),