Spaces:
Runtime error
Runtime error
Commit
•
ca61cfd
1
Parent(s):
a8e1a32
Update app.py
Browse files
app.py
CHANGED
@@ -76,7 +76,7 @@ inputs = [
|
|
76 |
gr.inputs.Number(label="Steps", default=50)
|
77 |
]
|
78 |
|
79 |
-
outputs = gr.outputs.Image(label="Generated Image", type="
|
80 |
|
81 |
interface = gr.Interface(generate_image, inputs, outputs, title="<a href='https://huggingface.co/spaces/ImagineAI-Real/ImagineAI-Image-Generator'>ImagineAI-Real/ImagineAI Image Generator</a>",
|
82 |
description="Enter a prompt, click Submit and wait a bit for your image.<br/>If taking too long, duplicate the space.",
|
|
|
76 |
gr.inputs.Number(label="Steps", default=50)
|
77 |
]
|
78 |
|
79 |
+
outputs = gr.outputs.Image(label="Generated Image", type="bytes")
|
80 |
|
81 |
interface = gr.Interface(generate_image, inputs, outputs, title="<a href='https://huggingface.co/spaces/ImagineAI-Real/ImagineAI-Image-Generator'>ImagineAI-Real/ImagineAI Image Generator</a>",
|
82 |
description="Enter a prompt, click Submit and wait a bit for your image.<br/>If taking too long, duplicate the space.",
|