Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -525,14 +525,6 @@ with gr.Blocks(css=css) as demo:
|
|
525 |
with gr.Accordion("Your video IN", open=True) as video_in_drawer:
|
526 |
video_in = gr.Video(label="Video IN", format="mp4")
|
527 |
|
528 |
-
gr.HTML("""
|
529 |
-
|
530 |
-
<a href="https://huggingface.co/spaces/{os.environ['SPACE_ID']}?duplicate=true">
|
531 |
-
<img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/duplicate-this-space-lg-dark.svg" alt="Duplicate this Space" />
|
532 |
-
</a> to skip queue and avoid OOM errors from heavy public load
|
533 |
-
""")
|
534 |
-
|
535 |
-
with gr.Column():
|
536 |
with gr.Group():
|
537 |
with gr.Group():
|
538 |
with gr.Row():
|
@@ -544,6 +536,16 @@ with gr.Blocks(css=css) as demo:
|
|
544 |
vis_frame_type = gr.Radio(label="Propagation level", choices=["check", "render"], value="check", scale=2)
|
545 |
propagate_btn = gr.Button("Propagate", scale=1)
|
546 |
reset_prpgt_brn = gr.Button("Reset", visible=False)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
547 |
output_propagated = gr.Gallery(label="Propagated Mask samples gallery", columns=4, visible=False)
|
548 |
output_video = gr.Video(visible=False)
|
549 |
mask_final_output = gr.Video(label="Mask Video")
|
|
|
525 |
with gr.Accordion("Your video IN", open=True) as video_in_drawer:
|
526 |
video_in = gr.Video(label="Video IN", format="mp4")
|
527 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
528 |
with gr.Group():
|
529 |
with gr.Group():
|
530 |
with gr.Row():
|
|
|
536 |
vis_frame_type = gr.Radio(label="Propagation level", choices=["check", "render"], value="check", scale=2)
|
537 |
propagate_btn = gr.Button("Propagate", scale=1)
|
538 |
reset_prpgt_brn = gr.Button("Reset", visible=False)
|
539 |
+
|
540 |
+
gr.HTML("""
|
541 |
+
|
542 |
+
<a href="https://huggingface.co/spaces/{os.environ['SPACE_ID']}?duplicate=true">
|
543 |
+
<img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/duplicate-this-space-lg-dark.svg" alt="Duplicate this Space" />
|
544 |
+
</a> to skip queue and avoid OOM errors from heavy public load
|
545 |
+
""")
|
546 |
+
|
547 |
+
with gr.Column():
|
548 |
+
|
549 |
output_propagated = gr.Gallery(label="Propagated Mask samples gallery", columns=4, visible=False)
|
550 |
output_video = gr.Video(visible=False)
|
551 |
mask_final_output = gr.Video(label="Mask Video")
|