zenafey commited on
Commit
b91b7ca
1 Parent(s): e7753bf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(test_params)
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":