Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -396,7 +396,7 @@ async def presentation_chat(query: PresentationChatModel, background_tasks: Back
|
|
| 396 |
# Collect the entire response
|
| 397 |
full_response = ""
|
| 398 |
async for chunk in response_stream.body_iterator:
|
| 399 |
-
full_response += chunk
|
| 400 |
|
| 401 |
# Extract the Marp presentation content
|
| 402 |
marp_content = extract_data_from_tag(full_response, "marp_presentation")
|
|
|
|
| 396 |
# Collect the entire response
|
| 397 |
full_response = ""
|
| 398 |
async for chunk in response_stream.body_iterator:
|
| 399 |
+
full_response += chunk
|
| 400 |
|
| 401 |
# Extract the Marp presentation content
|
| 402 |
marp_content = extract_data_from_tag(full_response, "marp_presentation")
|