yizhangliu commited on
Commit
47f2583
·
1 Parent(s): a18a2d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -23
app.py CHANGED
@@ -116,29 +116,6 @@ def process(init_image, mask):
116
  sd_seed=42,
117
  cv2_flag='INPAINT_NS',
118
  cv2_radius=5,
119
- '''
120
- ldm_steps=form["ldmSteps"],
121
- ldm_sampler=form["ldmSampler"],
122
- hd_strategy=form["hdStrategy"],
123
- zits_wireframe=form["zitsWireframe"],
124
- hd_strategy_crop_margin=form["hdStrategyCropMargin"],
125
- hd_strategy_crop_trigger_size=form["hdStrategyCropTrigerSize"],
126
- hd_strategy_resize_limit=form["hdStrategyResizeLimit"],
127
- prompt=form["prompt"],
128
- use_croper=form["useCroper"],
129
- croper_x=form["croperX"],
130
- croper_y=form["croperY"],
131
- croper_height=form["croperHeight"],
132
- croper_width=form["croperWidth"],
133
- sd_mask_blur=form["sdMaskBlur"],
134
- sd_strength=form["sdStrength"],
135
- sd_steps=form["sdSteps"],
136
- sd_guidance_scale=form["sdGuidanceScale"],
137
- sd_sampler=form["sdSampler"],
138
- sd_seed=form["sdSeed"],
139
- cv2_flag=form["cv2Flag"],
140
- cv2_radius=form['cv2Radius']
141
- '''
142
  )
143
 
144
  if config.sd_seed == -1:
 
116
  sd_seed=42,
117
  cv2_flag='INPAINT_NS',
118
  cv2_radius=5,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
119
  )
120
 
121
  if config.sd_seed == -1: