Spaces:
Running
on
Zero
Running
on
Zero
rafaaa2105
commited on
Commit
•
472ebba
1
Parent(s):
b282552
Update app.py
Browse files
app.py
CHANGED
@@ -46,6 +46,6 @@ with gr.Blocks() as demo:
|
|
46 |
output_image = gr.Image(label="Generated Image", height=480, scale=1)
|
47 |
|
48 |
|
49 |
-
generate_btn.click(
|
50 |
|
51 |
demo.launch()
|
|
|
46 |
output_image = gr.Image(label="Generated Image", height=480, scale=1)
|
47 |
|
48 |
|
49 |
+
generate_btn.click(generate_images, inputs=[model_dropdown, prompt, negative_prompt, num_inference_steps, guidance_scale, num_images], outputs=output_image)
|
50 |
|
51 |
demo.launch()
|