Linoy Tsaban commited on
Commit
a02e0e3
1 Parent(s): c6ff99b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -11
app.py CHANGED
@@ -157,23 +157,25 @@ def edit(input_image,
157
  steps=100,
158
  skip=36,
159
  tar_cfg_scale=15,
160
- edit_concept_1 = "",
161
- guidnace_scale_1 = 10,
162
- warmup_1 = 1,
163
- neg_guidance_1 = False,
164
- threshold_1 = 0.95
165
 
166
  ):
167
 
168
  # SEGA
169
  # parse concepts and neg guidance
170
-
 
 
171
  editing_args = dict(
172
- editing_prompt = [edit_concept_1],
173
- reverse_editing_direction = [neg_guidance_1],
174
- edit_warmup_steps=[warmup_1],
175
- edit_guidance_scale=[guidnace_scale_1],
176
- edit_threshold=[threshold_1],
177
  edit_momentum_scale=0.5,
178
  edit_mom_beta=0.6,
179
  eta=1,
 
157
  steps=100,
158
  skip=36,
159
  tar_cfg_scale=15,
160
+ edit_concepts = [],
161
+ guidnace_scales = [],
162
+ warmups = [],
163
+ neg_guidance = [],
164
+ thresholds = []
165
 
166
  ):
167
 
168
  # SEGA
169
  # parse concepts and neg guidance
170
+
171
+
172
+
173
  editing_args = dict(
174
+ editing_prompt = edit_concepts,
175
+ reverse_editing_direction = neg_guidance,
176
+ edit_warmup_steps=warmups,
177
+ edit_guidance_scale=guidnace_scales,
178
+ edit_threshold=thresholds,
179
  edit_momentum_scale=0.5,
180
  edit_mom_beta=0.6,
181
  eta=1,