Mbonea commited on
Commit
051c4d0
·
1 Parent(s): c9a3904

simple update

Browse files
App/Transcription/TranscriptionRoutes.py CHANGED
@@ -154,10 +154,5 @@ async def get_status(task_id):
154
  _trans = TranscriptionMetadata(**task_result.result)
155
  await entry.update(**_trans.dict(exclude={"transcription"}))
156
 
157
- result = {
158
- "task_id": task_id,
159
- "task_status": task_result.status,
160
- "task_result": task_result.result,
161
- "id": entry.tl_file_id,
162
- }
163
  return result
 
154
  _trans = TranscriptionMetadata(**task_result.result)
155
  await entry.update(**_trans.dict(exclude={"transcription"}))
156
 
157
+ result = BaseTranscription(**entry.__dict__)
 
 
 
 
 
158
  return result