Spaces:
Sleeping
Sleeping
rogerxavier
commited on
Commit
•
02f726e
1
Parent(s):
876d26d
Update api.py
Browse files
api.py
CHANGED
@@ -129,6 +129,7 @@ async def execute_all_task(background_tasks: BackgroundTasks, file_list: list =
|
|
129 |
bili_meta_data: dict = None, cover_image: UploadFile = File(...), mp4_out_file: str = 'mp4_out/output.mp4',
|
130 |
allow_submit: bool = False, cover_path: str = '/cover'
|
131 |
):
|
|
|
132 |
tasks = []
|
133 |
for file_name in file_list:
|
134 |
tasks.append(file_executer(file_name))
|
|
|
129 |
bili_meta_data: dict = None, cover_image: UploadFile = File(...), mp4_out_file: str = 'mp4_out/output.mp4',
|
130 |
allow_submit: bool = False, cover_path: str = '/cover'
|
131 |
):
|
132 |
+
print("获取到file_list是:",file_list)
|
133 |
tasks = []
|
134 |
for file_name in file_list:
|
135 |
tasks.append(file_executer(file_name))
|