show_progress attribute set to True
Browse files
app.py
CHANGED
@@ -255,9 +255,9 @@ with gr.Blocks() as demo:
|
|
255 |
with gr.Row():
|
256 |
with gr.Column(scale=2):
|
257 |
with gr.Row():
|
258 |
-
in_video = gr.PlayableVideo(label="Input Video")
|
259 |
with gr.Row():
|
260 |
-
first_frame = gr.ImageMask()
|
261 |
with gr.Row():
|
262 |
approve_mask = gr.Button(value="Run",variant="primary")
|
263 |
with gr.Column(scale=1):
|
@@ -266,8 +266,8 @@ with gr.Blocks() as demo:
|
|
266 |
with gr.Row():
|
267 |
masked_image = gr.Image(interactive=False)
|
268 |
with gr.Column(scale=2):
|
269 |
-
out_video = gr.Video(label="Segmented Video")
|
270 |
-
out_video_inpaint = gr.Video(label="Inpainted Video")
|
271 |
# track_mask = gr.Button(value="Track and Mask")
|
272 |
# inpaint = gr.Button(value="Inpaint")
|
273 |
|
|
|
255 |
with gr.Row():
|
256 |
with gr.Column(scale=2):
|
257 |
with gr.Row():
|
258 |
+
in_video = gr.PlayableVideo(label="Input Video", show_progress=True)
|
259 |
with gr.Row():
|
260 |
+
first_frame = gr.ImageMask(label="Select Object")
|
261 |
with gr.Row():
|
262 |
approve_mask = gr.Button(value="Run",variant="primary")
|
263 |
with gr.Column(scale=1):
|
|
|
266 |
with gr.Row():
|
267 |
masked_image = gr.Image(interactive=False)
|
268 |
with gr.Column(scale=2):
|
269 |
+
out_video = gr.Video(label="Segmented Video", show_progress=True)
|
270 |
+
out_video_inpaint = gr.Video(label="Inpainted Video", show_progress=True)
|
271 |
# track_mask = gr.Button(value="Track and Mask")
|
272 |
# inpaint = gr.Button(value="Inpaint")
|
273 |
|