Update app.py
Browse files
app.py
CHANGED
|
@@ -33,7 +33,7 @@ def generate_image(prompt: str, model_name: str):
|
|
| 33 |
with open(image_path, "wb") as f:
|
| 34 |
f.write(image_data)
|
| 35 |
|
| 36 |
-
|
| 37 |
return image_path
|
| 38 |
else:
|
| 39 |
return f"Error generating image: {response.text}"
|
|
|
|
| 33 |
with open(image_path, "wb") as f:
|
| 34 |
f.write(image_data)
|
| 35 |
|
| 36 |
+
# time.sleep(10) # 10-second delay
|
| 37 |
return image_path
|
| 38 |
else:
|
| 39 |
return f"Error generating image: {response.text}"
|