Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -437,8 +437,6 @@ async def presentation_chat(query: PresentationChatModel, background_tasks: Back
|
|
437 |
"markdown_presentation": marp_content_with_images,
|
438 |
"html_presentation": html_content.decode() if isinstance(html_content, bytes) else html_content
|
439 |
})
|
440 |
-
else:
|
441 |
-
raise HTTPException(status_code=500, detail="Failed to create presentation.")
|
442 |
|
443 |
|
444 |
# ============================================================================
|
|
|
437 |
"markdown_presentation": marp_content_with_images,
|
438 |
"html_presentation": html_content.decode() if isinstance(html_content, bytes) else html_content
|
439 |
})
|
|
|
|
|
440 |
|
441 |
|
442 |
# ============================================================================
|