You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.
It seems like the function set_preview_method was unable to restore the value from preview method saved using function global_preview_method. on tsc_utils.py#L504
This is because ComfyUI Manager will set the args.preview_method using latent_preview.LatentPreviewMethod class.
(refer to ComfyUI-Manager/init.py#L224)
I can confirm that compare the enum against string will not equal.
Edit: Remove the ComfyUI Manager from title. I just realized that this node will set the args.preview_method to latent_preview.LatentPreviewMethod enum either. And after scan other libs, it seems like using this class is a norm.
The text was updated successfully, but these errors were encountered:
lenkunz
changed the title
[Bug] KSampler (Efficiency) unable to restore the global_preview_method value and fallback to No Preview (w/ ComfyUI Manager).
[Bug] KSampler (Efficiency) unable to restore the global_preview_method value and fallback to No Preview.
Jan 6, 2024
It seems like the function
set_preview_method
was unable to restore the value from preview method saved using functionglobal_preview_method
. on tsc_utils.py#L504This is because ComfyUI Manager will set the
args.preview_method
usinglatent_preview.LatentPreviewMethod
class.(refer to ComfyUI-Manager/init.py#L224)
I can confirm that compare the enum against string will not equal.
Slight change like this would suffice.
Edit: Remove the ComfyUI Manager from title. I just realized that this node will set the
args.preview_method
tolatent_preview.LatentPreviewMethod
enum either. And after scan other libs, it seems like using this class is a norm.The text was updated successfully, but these errors were encountered: