zenafey commited on
Commit
e2b3807
1 Parent(s): 9951c27

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
  params['style_preset'] = style_preset
89
 
90
  job = client.photomaker(test_params)
91
- res = prodia.wait(job)
92
 
93
  if res['status'] == "failed":
94
  return
 
88
  params['style_preset'] = style_preset
89
 
90
  job = client.photomaker(test_params)
91
+ res = client.wait(job)
92
 
93
  if res['status'] == "failed":
94
  return