Mbonea commited on
Commit
e529e8c
1 Parent(s): d7e6cbb

added pending

Browse files
Files changed (1) hide show
  1. App/Transcription/Schemas.py +3 -1
App/Transcription/Schemas.py CHANGED
@@ -8,17 +8,19 @@ class TranscriptionMetadata(BaseModel):
8
  language: str = "-"
9
  percentage: str = "-"
10
  content: list = []
11
- status: str
12
 
13
 
14
  class TranscriptionResult(TranscriptionMetadata):
15
  created_at: datetime = Field(default_factory=datetime.utcnow)
16
  task_id: str
17
 
 
18
  class BaseTranscription(TranscriptionResult):
19
  file_name: str = "-"
20
  tl_file_id: Optional[str] = "-"
21
  youtubeLink: Optional[str] = "-"
22
 
 
23
  class UserDetails(BaseModel):
24
  userId: str
 
8
  language: str = "-"
9
  percentage: str = "-"
10
  content: list = []
11
+ status: str = "PENDING"
12
 
13
 
14
  class TranscriptionResult(TranscriptionMetadata):
15
  created_at: datetime = Field(default_factory=datetime.utcnow)
16
  task_id: str
17
 
18
+
19
  class BaseTranscription(TranscriptionResult):
20
  file_name: str = "-"
21
  tl_file_id: Optional[str] = "-"
22
  youtubeLink: Optional[str] = "-"
23
 
24
+
25
  class UserDetails(BaseModel):
26
  userId: str