Update app.py
Browse files
app.py
CHANGED
|
@@ -362,19 +362,24 @@ with gr.Blocks() as demo:
|
|
| 362 |
with gr.Row():
|
| 363 |
|
| 364 |
with gr.Column():
|
|
|
|
|
|
|
| 365 |
with gr.Row():
|
| 366 |
point_type = gr.Radio(label="point type", choices=["include", "exclude"], value="include", scale=2)
|
| 367 |
clear_points_btn = gr.Button("Clear Points", scale=1)
|
| 368 |
-
|
| 369 |
input_first_frame_image = gr.Image(label="input image", interactive=False, type="filepath", visible=False)
|
|
|
|
| 370 |
points_map = gr.Image(
|
| 371 |
label="Point n Click map",
|
| 372 |
type="filepath",
|
| 373 |
interactive=False
|
| 374 |
)
|
|
|
|
| 375 |
with gr.Row():
|
| 376 |
checkpoint = gr.Dropdown(label="Checkpoint", choices=["tiny", "small", "base-plus", "large"], value="tiny")
|
| 377 |
submit_btn = gr.Button("Submit", size="lg")
|
|
|
|
| 378 |
with gr.Column():
|
| 379 |
output_result = gr.Image()
|
| 380 |
with gr.Row():
|
|
|
|
| 362 |
with gr.Row():
|
| 363 |
|
| 364 |
with gr.Column():
|
| 365 |
+
video_in = gr.Video(label="Video IN")
|
| 366 |
+
|
| 367 |
with gr.Row():
|
| 368 |
point_type = gr.Radio(label="point type", choices=["include", "exclude"], value="include", scale=2)
|
| 369 |
clear_points_btn = gr.Button("Clear Points", scale=1)
|
| 370 |
+
|
| 371 |
input_first_frame_image = gr.Image(label="input image", interactive=False, type="filepath", visible=False)
|
| 372 |
+
|
| 373 |
points_map = gr.Image(
|
| 374 |
label="Point n Click map",
|
| 375 |
type="filepath",
|
| 376 |
interactive=False
|
| 377 |
)
|
| 378 |
+
|
| 379 |
with gr.Row():
|
| 380 |
checkpoint = gr.Dropdown(label="Checkpoint", choices=["tiny", "small", "base-plus", "large"], value="tiny")
|
| 381 |
submit_btn = gr.Button("Submit", size="lg")
|
| 382 |
+
|
| 383 |
with gr.Column():
|
| 384 |
output_result = gr.Image()
|
| 385 |
with gr.Row():
|