Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -143,9 +143,9 @@ def generate_image(stability_api_key, enhanced_prompt, style, negative_prompt, c
|
|
| 143 |
"output_format": "jpeg",
|
| 144 |
"num_images": 1,
|
| 145 |
"steps": steps,
|
| 146 |
-
"cfg_scale": cfg_scale,
|
| 147 |
-
|
| 148 |
-
|
| 149 |
}
|
| 150 |
|
| 151 |
try:
|
|
|
|
| 143 |
"output_format": "jpeg",
|
| 144 |
"num_images": 1,
|
| 145 |
"steps": steps,
|
| 146 |
+
# "cfg_scale": cfg_scale,
|
| 147 |
+
"style_preset": style,
|
| 148 |
+
"aspect_ratio": aspect_ratio,
|
| 149 |
}
|
| 150 |
|
| 151 |
try:
|