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 5561fba commit 9fce396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion text_to_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ async def create_chat_completion(
headers={"Content-Disposition": "attachment; filename=" + request.output_path},
)

return JSONResponse(content=log.dict(), status_code=200)
return JSONResponse(content=log.model_dump(), status_code=200)
except Exception as e:
logger.error(f"Error: {e}")
raise HTTPException(status_code=500, detail="Internal Server Error")
Expand Down

0 comments on commit 9fce396

Please sign in to comment.