pvanand commited on
Commit
ffe1325
·
verified ·
1 Parent(s): f164260

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +0 -2
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
  # ============================================================================