Update app.py
Browse files
app.py
CHANGED
@@ -471,6 +471,9 @@ def handsome_chat_completions():
|
|
471 |
reasoning_content_accumulated = ""
|
472 |
content_accumulated = ""
|
473 |
first_reasoning_chunk = True
|
|
|
|
|
|
|
474 |
|
475 |
for chunk in response.iter_lines():
|
476 |
if chunk:
|
|
|
471 |
reasoning_content_accumulated = ""
|
472 |
content_accumulated = ""
|
473 |
first_reasoning_chunk = True
|
474 |
+
|
475 |
+
|
476 |
+
yield f"data: {json.dumps({'choices': [{'delta': {'content': ''}, 'index': 0}]})}\n\n"
|
477 |
|
478 |
for chunk in response.iter_lines():
|
479 |
if chunk:
|