Spaces:
Runtime error
Runtime error
Adding test
Browse files
app.py
CHANGED
|
@@ -27,9 +27,7 @@ def generate_image(prompt, width, height):
|
|
| 27 |
iface = gr.Interface(
|
| 28 |
fn=generate_image,
|
| 29 |
inputs=[
|
| 30 |
-
gr.Textbox(label="Prompt", value="a house in front of the ocean and a dog is running in the field")
|
| 31 |
-
gr.Number(label="Width", value=1000),
|
| 32 |
-
gr.Number(label="Height", value=1000)
|
| 33 |
],
|
| 34 |
outputs=gr.Image(type="pil"),
|
| 35 |
title="Stable Diffusion Image Generator"
|
|
|
|
| 27 |
iface = gr.Interface(
|
| 28 |
fn=generate_image,
|
| 29 |
inputs=[
|
| 30 |
+
gr.Textbox(label="Prompt", value="a house in front of the ocean and a dog is running in the field")
|
|
|
|
|
|
|
| 31 |
],
|
| 32 |
outputs=gr.Image(type="pil"),
|
| 33 |
title="Stable Diffusion Image Generator"
|