Skip to content

Commit

Permalink
[FEAT][OUT]
Browse files Browse the repository at this point in the history
  • Loading branch information
Kye committed Apr 16, 2024
1 parent 0dea8d6 commit 8a653a2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions text_to_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,11 +133,11 @@ 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="application/octet-stream",
# )
out = FileResponse(
path=response,
filename=request.output_path,
media_type="application/octet-stream",
)

return out
except Exception as e:
Expand Down

0 comments on commit 8a653a2

Please sign in to comment.