fffiloni commited on
Commit
b2b166e
·
verified ·
1 Parent(s): 8ed5f7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -7
app.py CHANGED
@@ -430,10 +430,10 @@ with gr.Blocks() as demo:
430
 
431
  with gr.Column():
432
 
433
-
434
- with gr.Row():
435
- point_type = gr.Radio(label="point type", choices=["include", "exclude"], value="include", scale=2)
436
- clear_points_btn = gr.Button("Clear Points", scale=1)
437
 
438
  input_first_frame_image = gr.Image(label="input image", interactive=False, type="filepath", visible=False)
439
 
@@ -463,9 +463,10 @@ with gr.Blocks() as demo:
463
  working_frame = gr.Dropdown(label="working frame ID", choices=[""], value=None, visible=False, allow_custom_value=False, interactive=True)
464
  change_current = gr.Button("change current", visible=False)
465
  output_result = gr.Image(label="current working mask ref")
466
- with gr.Row():
467
- vis_frame_type = gr.Radio(label="Propagation level", choices=["check", "render"], value="check", scale=2)
468
- propagate_btn = gr.Button("Propagate", scale=1)
 
469
  reset_prpgt_brn = gr.Button("Reset", visible=False)
470
  output_propagated = gr.Gallery(label="Propagated Mask samples gallery", columns=4, visible=False)
471
  output_video = gr.Video(visible=False)
 
430
 
431
  with gr.Column():
432
 
433
+ with gr.Group():
434
+ with gr.Row():
435
+ point_type = gr.Radio(label="point type", choices=["include", "exclude"], value="include", scale=2)
436
+ clear_points_btn = gr.Button("Clear Points", scale=1)
437
 
438
  input_first_frame_image = gr.Image(label="input image", interactive=False, type="filepath", visible=False)
439
 
 
463
  working_frame = gr.Dropdown(label="working frame ID", choices=[""], value=None, visible=False, allow_custom_value=False, interactive=True)
464
  change_current = gr.Button("change current", visible=False)
465
  output_result = gr.Image(label="current working mask ref")
466
+ with gr.Group():
467
+ with gr.Row():
468
+ vis_frame_type = gr.Radio(label="Propagation level", choices=["check", "render"], value="check", scale=2)
469
+ propagate_btn = gr.Button("Propagate", scale=1)
470
  reset_prpgt_brn = gr.Button("Reset", visible=False)
471
  output_propagated = gr.Gallery(label="Propagated Mask samples gallery", columns=4, visible=False)
472
  output_video = gr.Video(visible=False)