Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ def generate_image(text):
|
|
| 32 |
iface = gr.Interface(
|
| 33 |
fn=generate_image,
|
| 34 |
inputs=gr.Textbox(lines=5, label="Enter a description for the image"),
|
| 35 |
-
outputs=
|
| 36 |
title="Text to Image Generation",
|
| 37 |
description="Enter a text description and get an image.",
|
| 38 |
theme="compact"
|
|
|
|
| 32 |
iface = gr.Interface(
|
| 33 |
fn=generate_image,
|
| 34 |
inputs=gr.Textbox(lines=5, label="Enter a description for the image"),
|
| 35 |
+
outputs=gr.outputs.Image(type="filepath", label="Generated Image"),
|
| 36 |
title="Text to Image Generation",
|
| 37 |
description="Enter a text description and get an image.",
|
| 38 |
theme="compact"
|