Spaces:
Runtime error
Runtime error
Commit
·
4697c4e
1
Parent(s):
b84f132
Update app.py
Browse files
app.py
CHANGED
|
@@ -87,7 +87,7 @@ inputs = [
|
|
| 87 |
gr.inputs.Number(label="Steps", default=50)
|
| 88 |
]
|
| 89 |
|
| 90 |
-
outputs = gr.outputs.Image(label="Generated Image", type="
|
| 91 |
|
| 92 |
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>",
|
| 93 |
description="Enter a prompt, click Submit and wait a bit for your image.<br/>If taking too long, duplicate the space.<br>Like this if you like it :)",
|
|
|
|
| 87 |
gr.inputs.Number(label="Steps", default=50)
|
| 88 |
]
|
| 89 |
|
| 90 |
+
outputs = gr.outputs.Image(label="Generated Image", type="pil")
|
| 91 |
|
| 92 |
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>",
|
| 93 |
description="Enter a prompt, click Submit and wait a bit for your image.<br/>If taking too long, duplicate the space.<br>Like this if you like it :)",
|