Update app.py
Browse files
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 |
|