phamngoctukts commited on
Commit
2b15352
1 Parent(s): de9278c

Update render.py

Browse files
Files changed (1) hide show
  1. render.py +1 -1
render.py CHANGED
@@ -81,7 +81,7 @@ def generate_images(positive_prompt, image):
81
  data["90"]["inputs"]["images"]["base64"] = [pil_to_base64(image)]
82
  else:
83
  data.pop("90", None)
84
- data["68"]["enabled"] = False
85
  seed = random.randint(1, 1000000000)
86
  data["47"]["inputs"]["noise_seed"] = seed
87
  images = get_images(ws, data)
 
81
  data["90"]["inputs"]["images"]["base64"] = [pil_to_base64(image)]
82
  else:
83
  data.pop("90", None)
84
+ data.pop("68", None)
85
  seed = random.randint(1, 1000000000)
86
  data["47"]["inputs"]["noise_seed"] = seed
87
  images = get_images(ws, data)