Spaces:
Running
on
L40S
Running
on
L40S
add duplicat ebutton back, track progress
Browse files
app.py
CHANGED
@@ -357,7 +357,7 @@ def get_overlap_slide_window_indices(video_length, window_size, window_overlap):
|
|
357 |
def random_seed():
|
358 |
return random.randint(0, 10000)
|
359 |
|
360 |
-
def infer(lq_sequence, task_name, mask, seed):
|
361 |
|
362 |
unique_id = str(uuid.uuid4())
|
363 |
output_dir = f"results_{unique_id}"
|
@@ -424,6 +424,9 @@ with gr.Blocks(css=css) as demo:
|
|
424 |
<a href="https://arxiv.org/pdf/2501.01235">
|
425 |
<img src='https://img.shields.io/badge/ArXiv-Paper-red'>
|
426 |
</a>
|
|
|
|
|
|
|
427 |
</div>
|
428 |
""")
|
429 |
with gr.Row():
|
|
|
357 |
def random_seed():
|
358 |
return random.randint(0, 10000)
|
359 |
|
360 |
+
def infer(lq_sequence, task_name, mask, seed, progress=gr.Progress(track_tqdm=True)):
|
361 |
|
362 |
unique_id = str(uuid.uuid4())
|
363 |
output_dir = f"results_{unique_id}"
|
|
|
424 |
<a href="https://arxiv.org/pdf/2501.01235">
|
425 |
<img src='https://img.shields.io/badge/ArXiv-Paper-red'>
|
426 |
</a>
|
427 |
+
<a href="https://huggingface.co/spaces/fffiloni/SVFR-demo?duplicate=true">
|
428 |
+
<img src="https://huggingface.co/datasets/huggingface/badges/resolve/main/duplicate-this-space-sm.svg" alt="Duplicate this Space">
|
429 |
+
</a>
|
430 |
</div>
|
431 |
""")
|
432 |
with gr.Row():
|