Spaces:
Running
Running
Commit
β’
ea213fb
1
Parent(s):
2cab5f4
fixed bug
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def app_fn(
|
|
34 |
|
35 |
if __name__ == "__main__":
|
36 |
title = "π¦ DINOv2 Video π¦"
|
37 |
-
with gr.Blocks() as demo:
|
38 |
with gr.Row():
|
39 |
source_video = gr.Video(label="Input Video", sources="upload", format="mp4")
|
40 |
output_video = gr.Video(label="Output Video")
|
@@ -61,5 +61,5 @@ if __name__ == "__main__":
|
|
61 |
cache_examples=True
|
62 |
)
|
63 |
|
64 |
-
demo.queue(max_size=5).launch()
|
65 |
|
|
|
34 |
|
35 |
if __name__ == "__main__":
|
36 |
title = "π¦ DINOv2 Video π¦"
|
37 |
+
with gr.Blocks(title=title) as demo:
|
38 |
with gr.Row():
|
39 |
source_video = gr.Video(label="Input Video", sources="upload", format="mp4")
|
40 |
output_video = gr.Video(label="Output Video")
|
|
|
61 |
cache_examples=True
|
62 |
)
|
63 |
|
64 |
+
demo.queue(max_size=5).launch(share=True)
|
65 |
|