Skip to content

Commit

Permalink
Merge pull request #95 from boostcampaitech3/bug/dev
Browse files Browse the repository at this point in the history
[Fix] Bug fix in video.py
  • Loading branch information
seungriyou authored Jun 9, 2022
2 parents f3ef502 + 5460aa0 commit 69b2637
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions serving/backend/app/api/video.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from lib2to3.pgen2.token import OP
from fastapi import FastAPI, File, UploadFile, APIRouter, HTTPException

import os
Expand Down Expand Up @@ -56,6 +57,7 @@ def create_video_file(file: UploadFile = File(...)):

class YTVideo(BaseModel):
id: UUID = Field(default_factory=uuid4)
video: Optional[str]
file_name: str
created_at : datetime = Field(default_factory=datetime.now)

Expand Down

0 comments on commit 69b2637

Please sign in to comment.