Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def generate_image(prompt):
|
|
31 |
|
32 |
# Define the input and output components
|
33 |
input_text = gr.inputs.Textbox(lines=10, label="Enter a prompt")
|
34 |
-
output_image = gr.outputs.Image(label="Generated Image")
|
35 |
|
36 |
# Create the Gradio interface
|
37 |
iface = gr.Interface(
|
|
|
31 |
|
32 |
# Define the input and output components
|
33 |
input_text = gr.inputs.Textbox(lines=10, label="Enter a prompt")
|
34 |
+
output_image = gr.outputs.Image(type="pil", label="Generated Image")
|
35 |
|
36 |
# Create the Gradio interface
|
37 |
iface = gr.Interface(
|