Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ async def generate_image_async(prompt, aspect_ratio):
|
|
37 |
if "output" in response_data:
|
38 |
return f"testing:{response_data["output"]}"
|
39 |
elif "error" in response_data:
|
40 |
-
return
|
41 |
else:
|
42 |
return "Error: Unexpected response from GLIF API."
|
43 |
|
|
|
37 |
if "output" in response_data:
|
38 |
return f"testing:{response_data["output"]}"
|
39 |
elif "error" in response_data:
|
40 |
+
return response_data['error']
|
41 |
else:
|
42 |
return "Error: Unexpected response from GLIF API."
|
43 |
|