Spaces:
Running
on
A10G
Running
on
A10G
omit noise from pipe_inference
Browse files- src/editor.py +1 -1
src/editor.py
CHANGED
|
@@ -77,7 +77,7 @@ class ImageEditorDemo:
|
|
| 77 |
@staticmethod
|
| 78 |
def edit(pipe_inference, target_prompt, last_latent, noise, cfg, edit_cfg):
|
| 79 |
pipe_inference.cfg = cfg
|
| 80 |
-
pipe_inference.scheduler.set_noise_list(noise)
|
| 81 |
pipe_inference.set_progress_bar_config(disable=True)
|
| 82 |
image = pipe_inference(prompt=target_prompt,
|
| 83 |
num_inference_steps=cfg.num_inference_steps,
|
|
|
|
| 77 |
@staticmethod
|
| 78 |
def edit(pipe_inference, target_prompt, last_latent, noise, cfg, edit_cfg):
|
| 79 |
pipe_inference.cfg = cfg
|
| 80 |
+
# pipe_inference.scheduler.set_noise_list(noise)
|
| 81 |
pipe_inference.set_progress_bar_config(disable=True)
|
| 82 |
image = pipe_inference(prompt=target_prompt,
|
| 83 |
num_inference_steps=cfg.num_inference_steps,
|