mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-07-14 02:17:13 +08:00
Update comfy_api_nodes/util/upload_helpers.py
This commit is contained in:
parent
15f94d06e9
commit
843f97b649
@ -163,7 +163,7 @@ async def upload_video_to_comfyapi(
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
f"Could not convert the input video to {container.value.upper()} for upload; "
|
f"Could not convert the input video to {container.value.upper()} for upload; "
|
||||||
f"the file may be corrupt or use an unsupported codec. "
|
f"the file may be corrupted or use an unsupported codec. "
|
||||||
f"Try re-exporting it as MP4 (H.264). Original error: {e}"
|
f"Try re-exporting it as MP4 (H.264). Original error: {e}"
|
||||||
) from e
|
) from e
|
||||||
video_bytes_io.seek(0)
|
video_bytes_io.seek(0)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user