Spaces:
Runtime error
Runtime error
Commit
·
41b9a95
1
Parent(s):
81ecd24
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,6 +12,7 @@ def generate_image(prompt):
|
|
| 12 |
|
| 13 |
# Decode the base64 image data
|
| 14 |
image_data = base64.b64decode(base64_image)
|
|
|
|
| 15 |
image = Image.open(io.BytesIO(image_data))
|
| 16 |
|
| 17 |
return image
|
|
|
|
| 12 |
|
| 13 |
# Decode the base64 image data
|
| 14 |
image_data = base64.b64decode(base64_image)
|
| 15 |
+
image = Image.open("https://www.general-plastics.com/wp-content/uploads/2022/12/we-are-currently-updating-our-web-site-check-back-soon-300x225.jpg")
|
| 16 |
image = Image.open(io.BytesIO(image_data))
|
| 17 |
|
| 18 |
return image
|