1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 23:14:49 +08:00

Make previews into cli option

This commit is contained in:
space-nuko
2023-06-05 13:19:02 -05:00
parent f326a0a468
commit 48f7ec750c
4 changed files with 58 additions and 85 deletions

View File

@@ -45,7 +45,6 @@ def hijack_progress(server):
server.send_sync("progress", { "value": value, "max": total}, server.client_id)
if preview_image_bytes is not None:
server.send_sync(BinaryEventTypes.PREVIEW_IMAGE, preview_image_bytes, server.client_id)
pass
comfy.utils.set_progress_bar_global_hook(hook)
def cleanup_temp():