Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -304,7 +304,7 @@ def generate_image(
|
|
304 |
def create_image_input(index, open=True, indexs_state=None):
|
305 |
accordion_state = gr.State(open)
|
306 |
with gr.Column():
|
307 |
-
with gr.Accordion(f"Input Image {index + 1}", open=accordion_state
|
308 |
image = gr.Image(type="filepath", label=f"Image {index + 1}")
|
309 |
caption = gr.Textbox(label=f"Caption {index + 1}", value="")
|
310 |
id_ip_checkbox = gr.Checkbox(value=False, label=f"ID or not {index + 1}", visible=True)
|
|
|
304 |
def create_image_input(index, open=True, indexs_state=None):
|
305 |
accordion_state = gr.State(open)
|
306 |
with gr.Column():
|
307 |
+
with gr.Accordion(f"Input Image {index + 1}", open=accordion_state) as accordion:
|
308 |
image = gr.Image(type="filepath", label=f"Image {index + 1}")
|
309 |
caption = gr.Textbox(label=f"Caption {index + 1}", value="")
|
310 |
id_ip_checkbox = gr.Checkbox(value=False, label=f"ID or not {index + 1}", visible=True)
|