MaxMilan1 commited on
Commit ·
a32e744
1
Parent(s): c0a0649
changees
Browse files
app.py
CHANGED
|
@@ -42,7 +42,7 @@ with gr.Blocks(theme=theme) as GenDemo:
|
|
| 42 |
button_gen = gr.Button("Generate Image", elem_id="generateIm", variant="primary")
|
| 43 |
gen_image = gr.Image(label="Generated Image", image_mode="RGBA", type='pil', show_download_button=True, show_label=False)
|
| 44 |
|
| 45 |
-
button_gen.click(check_prompt, inputs=[prompt]).success(generate_image, inputs=[prompt,
|
| 46 |
|
| 47 |
with gr.Tab("Image to 3D Model Generator"):
|
| 48 |
with gr.Row(variant="panel"):
|
|
|
|
| 42 |
button_gen = gr.Button("Generate Image", elem_id="generateIm", variant="primary")
|
| 43 |
gen_image = gr.Image(label="Generated Image", image_mode="RGBA", type='pil', show_download_button=True, show_label=False)
|
| 44 |
|
| 45 |
+
button_gen.click(check_prompt, inputs=[prompt]).success(generate_image, inputs=[prompt, controlNet_image, select], outputs=[gen_image])
|
| 46 |
|
| 47 |
with gr.Tab("Image to 3D Model Generator"):
|
| 48 |
with gr.Row(variant="panel"):
|