mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-11-09 10:26:38 +08:00
overlooked something
Realized that it still needs the regular unecoded_preview_image as well, in order to get previews on another device
This commit is contained in:
parent
5f885bb161
commit
91ca6f41a2
1
main.py
1
main.py
@ -172,6 +172,7 @@ def hijack_progress(server):
|
||||
if preview_image is not None:
|
||||
if args.latent_preview_api:
|
||||
server.send_sync("latent_preview", preview_image, server.client_id)
|
||||
server.send_sync(BinaryEventTypes.UNENCODED_PREVIEW_IMAGE, preview_image, server.client_id)
|
||||
else:
|
||||
server.send_sync(BinaryEventTypes.UNENCODED_PREVIEW_IMAGE, preview_image, server.client_id)
|
||||
comfy.utils.set_progress_bar_global_hook(hook)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user