Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -88,7 +88,7 @@ def generate_image(upload_images, prompt, negative_prompt, style_preset, steps,
|
|
88 |
if style_preset is not None and style_preset in STYLE_PRESETS:
|
89 |
params['style_preset'] = style_preset
|
90 |
|
91 |
-
job = client.photomaker(
|
92 |
res = client.wait(job)
|
93 |
|
94 |
if res['status'] == "failed":
|
|
|
88 |
if style_preset is not None and style_preset in STYLE_PRESETS:
|
89 |
params['style_preset'] = style_preset
|
90 |
|
91 |
+
job = client.photomaker(params)
|
92 |
res = client.wait(job)
|
93 |
|
94 |
if res['status'] == "failed":
|