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