rogerxavier commited on
Commit
24d89fd
1 Parent(s): a5b527c

Update api.py

Browse files
Files changed (1) hide show
  1. api.py +1 -1
api.py CHANGED
@@ -103,7 +103,7 @@ async def execute_py_file(file_name: str,background_tasks: BackgroundTasks):
103
  @app.get("/execute_all_task")
104
  async def execute_all_task(background_tasks: BackgroundTasks,file_list: list = ["1removeMask", "2magiDialogCut", "3mergeDialogToVideo"],
105
  bili_meta_data:dict = None,cover_image: UploadFile = File(...),mp4_out_file:str='mp4_out/output.mp4',
106
- allow_submit:"是否将结果允许上传"=False,cover_path:str ='/cover'
107
 
108
  ):
109
  for file_name in file_list:
 
103
  @app.get("/execute_all_task")
104
  async def execute_all_task(background_tasks: BackgroundTasks,file_list: list = ["1removeMask", "2magiDialogCut", "3mergeDialogToVideo"],
105
  bili_meta_data:dict = None,cover_image: UploadFile = File(...),mp4_out_file:str='mp4_out/output.mp4',
106
+ allow_submit:bool=False,cover_path:str ='/cover'
107
 
108
  ):
109
  for file_name in file_list: