dvir-bria commited on
Commit
ec565ef
·
verified ·
1 Parent(s): 1abaf08

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -33,7 +33,7 @@ def gen_fill_api_call(image_base64_file, mask_base64_file, prompt):
33
  }
34
  response = requests.post(url, json=payload, headers=auth_headers)
35
  response = response.json()
36
- res_image = download_image(response["urls"])
37
 
38
  return res_image
39
 
 
33
  }
34
  response = requests.post(url, json=payload, headers=auth_headers)
35
  response = response.json()
36
+ res_image = download_image(response["urls"][0])
37
 
38
  return res_image
39