Update app.py
Browse files
app.py
CHANGED
|
@@ -25,6 +25,7 @@ def gen_image(desc: str, style: str):
|
|
| 25 |
}
|
| 26 |
|
| 27 |
resp_data = requests.post(url, json=body, headers=headers)
|
|
|
|
| 28 |
if resp_data['status'] != 200:
|
| 29 |
return
|
| 30 |
# img_np = np.array(resp_data['output_image_list'][0])
|
|
|
|
| 25 |
}
|
| 26 |
|
| 27 |
resp_data = requests.post(url, json=body, headers=headers)
|
| 28 |
+
print(resp_data['status'])
|
| 29 |
if resp_data['status'] != 200:
|
| 30 |
return
|
| 31 |
# img_np = np.array(resp_data['output_image_list'][0])
|