Spaces:
Runtime error
Runtime error
Logan Zoellner
commited on
Commit
·
1b121c9
1
Parent(s):
bd85979
try this
Browse files
app.py
CHANGED
|
@@ -9,6 +9,7 @@ import io
|
|
| 9 |
|
| 10 |
def generate_image(text):
|
| 11 |
#dalle = gr.Interface.load("spaces/kuprel/min-dalle")
|
|
|
|
| 12 |
|
| 13 |
print("calling interface",text)
|
| 14 |
img=dalle(text)
|
|
@@ -18,7 +19,7 @@ def generate_image(text):
|
|
| 18 |
#data = b64decode(encoded)
|
| 19 |
#image = Image.open(io.BytesIO(data))
|
| 20 |
|
| 21 |
-
return
|
| 22 |
|
| 23 |
|
| 24 |
#gfpgan=gr.Interface.load("spaces/akhaliq/GFPGAN")
|
|
|
|
| 9 |
|
| 10 |
def generate_image(text):
|
| 11 |
#dalle = gr.Interface.load("spaces/kuprel/min-dalle")
|
| 12 |
+
dalle = gr.Interface.load("spaces/Axolotlily/DalleMini")
|
| 13 |
|
| 14 |
print("calling interface",text)
|
| 15 |
img=dalle(text)
|
|
|
|
| 19 |
#data = b64decode(encoded)
|
| 20 |
#image = Image.open(io.BytesIO(data))
|
| 21 |
|
| 22 |
+
return img
|
| 23 |
|
| 24 |
|
| 25 |
#gfpgan=gr.Interface.load("spaces/akhaliq/GFPGAN")
|