Spaces:
Running
on
A10G
Running
on
A10G
Linoy Tsaban
commited on
Commit
•
6505e1f
1
Parent(s):
52d8a48
Update app.py
Browse files
app.py
CHANGED
@@ -52,7 +52,8 @@ sd_pipe.scheduler = DDIMScheduler.from_config(sd_model_id, subfolder = "schedule
|
|
52 |
sem_pipe = SemanticStableDiffusionPipeline.from_pretrained(sd_model_id).to(device)
|
53 |
|
54 |
|
55 |
-
def edit(input_image, input_image_prompt='', target_prompt='', edit_prompt='',
|
|
|
56 |
edit_guidance_scale=8, guidance_scale=15, skip=36, num_diffusion_steps=100,
|
57 |
):
|
58 |
offsets=(0,0,0,0)
|
|
|
52 |
sem_pipe = SemanticStableDiffusionPipeline.from_pretrained(sd_model_id).to(device)
|
53 |
|
54 |
|
55 |
+
def edit(input_image, input_image_prompt='', target_prompt='', edit_prompt='',
|
56 |
+
negative_guidance = False, edit_warmup_steps=5,
|
57 |
edit_guidance_scale=8, guidance_scale=15, skip=36, num_diffusion_steps=100,
|
58 |
):
|
59 |
offsets=(0,0,0,0)
|