Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -59,10 +59,10 @@ iface = gr.Interface(
|
|
| 59 |
inputs=[
|
| 60 |
gr.Text(label="Prompt"),
|
| 61 |
gr.Image(label="Control Image (Depth)"),
|
| 62 |
-
gr.Dropdown(choices=
|
| 63 |
gr.Checkbox(label="Use Depth Control Image", value=True),
|
| 64 |
gr.Image(label="Control Image (Canny)"),
|
| 65 |
-
gr.Dropdown(choices=
|
| 66 |
],
|
| 67 |
outputs=gr.Image(label="Generated Image"),
|
| 68 |
title="FluxControlNet Image Generation",
|
|
|
|
| 59 |
inputs=[
|
| 60 |
gr.Text(label="Prompt"),
|
| 61 |
gr.Image(label="Control Image (Depth)"),
|
| 62 |
+
gr.Dropdown(choices=control_modes, value=control_modes.index("depth"), label="Control Mode (Depth)"),
|
| 63 |
gr.Checkbox(label="Use Depth Control Image", value=True),
|
| 64 |
gr.Image(label="Control Image (Canny)"),
|
| 65 |
+
gr.Dropdown(choices=control_modes, value=control_modes.index("canny"), label="Control Mode (Canny)")
|
| 66 |
],
|
| 67 |
outputs=gr.Image(label="Generated Image"),
|
| 68 |
title="FluxControlNet Image Generation",
|