Update app.py
Browse files
app.py
CHANGED
|
@@ -35,6 +35,7 @@ def gen_fill_api_call(image_base64_file, mask_base64_file, prompt):
|
|
| 35 |
}
|
| 36 |
response = requests.post(url, json=payload, headers=auth_headers)
|
| 37 |
response = response.json()
|
|
|
|
| 38 |
res_image = download_image(response["urls"][0])
|
| 39 |
|
| 40 |
return res_image
|
|
|
|
| 35 |
}
|
| 36 |
response = requests.post(url, json=payload, headers=auth_headers)
|
| 37 |
response = response.json()
|
| 38 |
+
print(response)
|
| 39 |
res_image = download_image(response["urls"][0])
|
| 40 |
|
| 41 |
return res_image
|