group first block
Browse files
app.py
CHANGED
|
@@ -435,24 +435,24 @@ with gr.Blocks(css=css) as demo:
|
|
| 435 |
with gr.Row():
|
| 436 |
|
| 437 |
with gr.Column():
|
| 438 |
-
|
| 439 |
with gr.Group():
|
| 440 |
-
with gr.
|
| 441 |
-
|
| 442 |
-
|
| 443 |
-
|
| 444 |
-
|
| 445 |
-
|
| 446 |
-
|
| 447 |
-
|
| 448 |
-
|
| 449 |
-
|
| 450 |
-
|
| 451 |
-
|
| 452 |
-
|
| 453 |
-
with gr.
|
| 454 |
-
|
| 455 |
-
|
|
|
|
| 456 |
|
| 457 |
with gr.Accordion("Your video IN", open=True) as video_in_drawer:
|
| 458 |
video_in = gr.Video(label="Video IN", format="mp4")
|
|
|
|
| 435 |
with gr.Row():
|
| 436 |
|
| 437 |
with gr.Column():
|
|
|
|
| 438 |
with gr.Group():
|
| 439 |
+
with gr.Group():
|
| 440 |
+
with gr.Row():
|
| 441 |
+
point_type = gr.Radio(label="point type", choices=["include", "exclude"], value="include", scale=2)
|
| 442 |
+
clear_points_btn = gr.Button("Clear Points", scale=1)
|
| 443 |
+
|
| 444 |
+
input_first_frame_image = gr.Image(label="input image", interactive=False, type="filepath", visible=False)
|
| 445 |
+
|
| 446 |
+
points_map = gr.Image(
|
| 447 |
+
label="Point n Click map",
|
| 448 |
+
type="filepath",
|
| 449 |
+
interactive=False
|
| 450 |
+
)
|
| 451 |
+
|
| 452 |
+
with gr.Group():
|
| 453 |
+
with gr.Row():
|
| 454 |
+
checkpoint = gr.Dropdown(label="Checkpoint", choices=["tiny", "small", "base-plus", "large"], value="tiny")
|
| 455 |
+
submit_btn = gr.Button("Get Mask", size="lg")
|
| 456 |
|
| 457 |
with gr.Accordion("Your video IN", open=True) as video_in_drawer:
|
| 458 |
video_in = gr.Video(label="Video IN", format="mp4")
|