|
@@ -145,6 +145,7 @@ async def update_detect_info(
|
|
|
video_data['style'] = style
|
|
|
video_data['lang'] = lang
|
|
|
background_tasks.add_task(wait_finish, video_data)
|
|
|
+ return JSONResponse(return_msg, background=background_tasks)
|
|
|
|
|
|
async def wait_finish(video_data:dict):
|
|
|
zip_filename = video_data['stored_filename']+".zip"
|