Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ def generate(prompt, steps):
|
|
| 26 |
output_image = gr.Image(type="pil")
|
| 27 |
inputs=[
|
| 28 |
gr.Textbox(label="Prompt (What you want in the image)", default="Cinematic portrait of a handsome cat with a suit and sunglasses"),
|
| 29 |
-
gr.Slider(minimum=1, maximum=10, step=
|
| 30 |
]
|
| 31 |
demo = gr.Interface(fn=generate, inputs=inputs, outputs=output_image)
|
| 32 |
|
|
|
|
| 26 |
output_image = gr.Image(type="pil")
|
| 27 |
inputs=[
|
| 28 |
gr.Textbox(label="Prompt (What you want in the image)", default="Cinematic portrait of a handsome cat with a suit and sunglasses"),
|
| 29 |
+
gr.Slider(minimum=1, maximum=10, step=1, value=1, label="Number of Images(coming soon <3)")
|
| 30 |
]
|
| 31 |
demo = gr.Interface(fn=generate, inputs=inputs, outputs=output_image)
|
| 32 |
|