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