Spaces:
Running
Running
Update document_generator.py
Browse files- document_generator.py +1 -1
document_generator.py
CHANGED
@@ -273,7 +273,7 @@ async def generate_document_stream(document_generator: DocumentGenerator, docume
|
|
273 |
markdown_document = MarkdownConverter.convert_to_markdown(document_generator.document_outline["Document"])
|
274 |
yield json.dumps({
|
275 |
"type": "complete_document",
|
276 |
-
"
|
277 |
"json": document_generator.document_outline
|
278 |
}, ensure_ascii=False) + "\n"
|
279 |
|
|
|
273 |
markdown_document = MarkdownConverter.convert_to_markdown(document_generator.document_outline["Document"])
|
274 |
yield json.dumps({
|
275 |
"type": "complete_document",
|
276 |
+
"content": markdown_document,
|
277 |
"json": document_generator.document_outline
|
278 |
}, ensure_ascii=False) + "\n"
|
279 |
|