mirror of
https://github.com/facefusion/facefusion.git
synced 2026-08-18 06:47:13 +02:00
add meaningful tests
This commit is contained in:
@@ -119,7 +119,8 @@ async def save_asset_files(upload_files : List[UploadFile]) -> List[str]:
|
|||||||
if media_type == 'video' and await asyncio.to_thread(ffmpeg.sanitize_video, file_format, upload_queue.get, asset_path, api_security_strategy):
|
if media_type == 'video' and await asyncio.to_thread(ffmpeg.sanitize_video, file_format, upload_queue.get, asset_path, api_security_strategy):
|
||||||
asset_paths.append(asset_path)
|
asset_paths.append(asset_path)
|
||||||
|
|
||||||
if await upload_task:
|
await upload_task
|
||||||
process_manager.end()
|
|
||||||
|
process_manager.end()
|
||||||
|
|
||||||
return asset_paths
|
return asset_paths
|
||||||
|
|||||||
Reference in New Issue
Block a user