Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -75,16 +75,6 @@ def generate_image(upload_images, prompt, negative_prompt, style_preset, steps,
|
|
75 |
"seed": seed if seed != 0 else random.randint(1, MAX_SEED)
|
76 |
}
|
77 |
|
78 |
-
test_params = {
|
79 |
-
"imageUrls": ["https://cdn.discordapp.com/attachments/1168595302857584651/1241095243919786084/033114_fb_elon.png?ex=6648f384&is=6647a204&hm=8a6e9a50ff027e308bbb5d496b0f0476507f6476e7c819d975f15dcec153506c&"],
|
80 |
-
"prompt": prompt,
|
81 |
-
"negative_prompt": negative_prompt,
|
82 |
-
"steps": steps,
|
83 |
-
"cfg_scale": cfg_scale,
|
84 |
-
"strength": strength,
|
85 |
-
"seed": seed if seed != 0 else random.randint(1, MAX_SEED)
|
86 |
-
}
|
87 |
-
|
88 |
if style_preset is not None and style_preset in STYLE_PRESETS:
|
89 |
params['style_preset'] = style_preset
|
90 |
|
|
|
75 |
"seed": seed if seed != 0 else random.randint(1, MAX_SEED)
|
76 |
}
|
77 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
if style_preset is not None and style_preset in STYLE_PRESETS:
|
79 |
params['style_preset'] = style_preset
|
80 |
|