group first block
Browse files434 unmodified lines435436437438439440441442443444445446447448449450451452453454455456457458434 unmodified lineswith gr.Row():with gr.Column():with gr.Group():with gr.Row():point_type = gr.Radio(label="point type", choices=["include", "exclude"], value="include", scale=2)clear_points_btn = gr.Button("Clear Points", scale=1)input_first_frame_image = gr.Image(label="input image", interactive=False, type="filepath", visible=False)points_map = gr.Image(label="Point n Click map",type="filepath",interactive=False)with gr.Group():with gr.Row():checkpoint = gr.Dropdown(label="Checkpoint", choices=["tiny", "small", "base-plus", "large"], value="tiny")submit_btn = gr.Button("Get Mask", size="lg")with gr.Accordion("Your video IN", open=True) as video_in_drawer:video_in = gr.Video(label="Video IN", format="mp4")434 unmodified lines435436437438439440441442443444445446447448449450451452453454455456457458434 unmodified lineswith gr.Row():with gr.Column():with gr.Group():with gr.Group():with gr.Row():point_type = gr.Radio(label="point type", choices=["include", "exclude"], value="include", scale=2)clear_points_btn = gr.Button("Clear Points", scale=1)input_first_frame_image = gr.Image(label="input image", interactive=False, type="filepath", visible=False)points_map = gr.Image(label="Point n Click map",type="filepath",interactive=False)with gr.Group():with gr.Row():checkpoint = gr.Dropdown(label="Checkpoint", choices=["tiny", "small", "base-plus", "large"], value="tiny")submit_btn = gr.Button("Get Mask", size="lg")with gr.Accordion("Your video IN", open=True) as video_in_drawer:video_in = gr.Video(label="Video IN", format="mp4")
app.py+17-17