diff --git a/text_to_video.py b/text_to_video.py index 9483de0..4b32b73 100644 --- a/text_to_video.py +++ b/text_to_video.py @@ -141,12 +141,12 @@ async def create_chat_completion( # logger.info(f"Response: {out}") logger.info(f"Downloading the file: {response}") - FileResponse( - path=response, - filename=request.output_path, - media_type="image/gif", # Use the correct media type for GIFs - headers={"Content-Disposition": "attachment; filename=" + request.output_path}, - ) + # FileResponse( + # path=response, + # filename=request.output_path, + # media_type="image/gif", # Use the correct media type for GIFs + # headers={"Content-Disposition": "attachment; filename=" + request.output_path}, + # ) return JSONResponse(content=log.model_dump(), status_code=200) except Exception as e: