Update app.py
Browse files
app.py
CHANGED
@@ -509,7 +509,7 @@ with gr.Blocks() as demo:
|
|
509 |
with gr.Column():
|
510 |
image_1 = gr.Image(type="filepath", label=f"Image {index + 1}")
|
511 |
caption_1 = gr.Textbox(label=f"Caption {index + 1}", value="")
|
512 |
-
id_ip_checkbox_1 = gr.Checkbox(value=False, label=f"ID or not
|
513 |
with gr.Row():
|
514 |
vlm_btn_1 = gr.Button("Auto Caption")
|
515 |
det_btn_1 = gr.Button("Det & Seg")
|
@@ -518,7 +518,7 @@ with gr.Blocks() as demo:
|
|
518 |
with gr.Column():
|
519 |
image_2 = gr.Image(type="filepath", label=f"Image {index + 1}")
|
520 |
caption_2 = gr.Textbox(label=f"Caption {index + 1}", value="")
|
521 |
-
id_ip_checkbox_2 = gr.Checkbox(value=False, label=f"ID or not
|
522 |
with gr.Row():
|
523 |
vlm_btn_2 = gr.Button("Auto Caption")
|
524 |
det_btn_2 = gr.Button("Det & Seg")
|
|
|
509 |
with gr.Column():
|
510 |
image_1 = gr.Image(type="filepath", label=f"Image {index + 1}")
|
511 |
caption_1 = gr.Textbox(label=f"Caption {index + 1}", value="")
|
512 |
+
id_ip_checkbox_1 = gr.Checkbox(value=False, label=f"ID or not 1", visible=True)
|
513 |
with gr.Row():
|
514 |
vlm_btn_1 = gr.Button("Auto Caption")
|
515 |
det_btn_1 = gr.Button("Det & Seg")
|
|
|
518 |
with gr.Column():
|
519 |
image_2 = gr.Image(type="filepath", label=f"Image {index + 1}")
|
520 |
caption_2 = gr.Textbox(label=f"Caption {index + 1}", value="")
|
521 |
+
id_ip_checkbox_2 = gr.Checkbox(value=False, label=f"ID or not 2", visible=True)
|
522 |
with gr.Row():
|
523 |
vlm_btn_2 = gr.Button("Auto Caption")
|
524 |
det_btn_2 = gr.Button("Det & Seg")
|