lllyasviel commited on
Commit
2491f48
·
1 Parent(s): edc0c71
Files changed (1) hide show
  1. modules/core.py +0 -4
modules/core.py CHANGED
@@ -78,10 +78,6 @@ def ksampler(model, positive, negative, latent, seed=None, steps=30, cfg=9.0, sa
78
  if "noise_mask" in latent:
79
  noise_mask = latent["noise_mask"]
80
 
81
- preview_format = "JPEG"
82
- if preview_format not in ["JPEG", "PNG"]:
83
- preview_format = "JPEG"
84
-
85
  previewer = get_previewer(device, model.model.latent_format)
86
 
87
  pbar = comfy.utils.ProgressBar(steps)
 
78
  if "noise_mask" in latent:
79
  noise_mask = latent["noise_mask"]
80
 
 
 
 
 
81
  previewer = get_previewer(device, model.model.latent_format)
82
 
83
  pbar = comfy.utils.ProgressBar(steps)