Spaces:
Running
Running
maialumiaho
commited on
Commit
•
4f94817
1
Parent(s):
7e710e9
Update app.py
Browse files
app.py
CHANGED
@@ -20,4 +20,4 @@ def query(payload):
|
|
20 |
def generate_image(prompt):
|
21 |
image_bytes = query({"inputs": prompt})
|
22 |
image = Image.open(io.BytesIO(image_bytes))
|
23 |
-
return image
|
|
|
20 |
def generate_image(prompt):
|
21 |
image_bytes = query({"inputs": prompt})
|
22 |
image = Image.open(io.BytesIO(image_bytes))
|
23 |
+
return image
|