Skip to content

Commit

Permalink
[CLEANUP]
Browse files Browse the repository at this point in the history
  • Loading branch information
Kye committed Apr 16, 2024
1 parent 70ea91b commit 60cd1be
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions text_to_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,12 +141,6 @@ 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},
# )

return JSONResponse(content=log.model_dump(), status_code=200)
except Exception as e:
Expand Down

0 comments on commit 60cd1be

Please sign in to comment.