Linoy Tsaban commited on
Commit
05f89f0
1 Parent(s): 39191c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -9
app.py CHANGED
@@ -53,16 +53,16 @@ sem_pipe = SemanticStableDiffusionPipeline.from_pretrained(sd_model_id).to(devic
53
 
54
 
55
  def edit(input_image,
56
- src_prompt,
57
- tar_prompt,
58
- steps,
59
  # src_cfg_scale,
60
- skip,
61
- tar_cfg_scale,
62
- edit_concept,
63
- sega_edit_guidance,
64
- warm_up,
65
- neg_guidance):
66
  offsets=(0,0,0,0)
67
  x0 = load_512(input_image, *offsets, device)
68
 
 
53
 
54
 
55
  def edit(input_image,
56
+ src_prompt ="",
57
+ tar_prompt="",
58
+ steps=100,
59
  # src_cfg_scale,
60
+ skip=36,
61
+ tar_cfg_scale=15,
62
+ edit_concept="",
63
+ sega_edit_guidance=0,
64
+ warm_up=7,
65
+ neg_guidance=False):
66
  offsets=(0,0,0,0)
67
  x0 = load_512(input_image, *offsets, device)
68