Spaces:
Running
on
Zero
Running
on
Zero
depthanyvideo
commited on
Commit
•
4daa67f
1
Parent(s):
e6760c7
update
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ def seed_all(seed: int = 0):
|
|
26 |
|
27 |
|
28 |
examples = [
|
29 |
-
["demos/wooly_mammoth.mp4", 3, 32,
|
30 |
]
|
31 |
|
32 |
|
@@ -127,15 +127,15 @@ def construct_demo():
|
|
127 |
with gr.Column(scale=1):
|
128 |
input_video = gr.Video(label="Input Video")
|
129 |
|
130 |
-
with gr.Column(scale=
|
131 |
with gr.Row(equal_height=True):
|
132 |
output_video = gr.Video(
|
133 |
-
label="Ouput Video Depth",
|
134 |
interactive=False,
|
135 |
autoplay=True,
|
136 |
loop=True,
|
137 |
show_share_button=True,
|
138 |
-
scale=
|
139 |
)
|
140 |
|
141 |
with gr.Row(equal_height=True):
|
@@ -185,7 +185,7 @@ def construct_demo():
|
|
185 |
step=32,
|
186 |
)
|
187 |
generate_btn = gr.Button("Generate")
|
188 |
-
with gr.Column(scale=
|
189 |
pass
|
190 |
|
191 |
gr.Examples(
|
|
|
26 |
|
27 |
|
28 |
examples = [
|
29 |
+
["demos/wooly_mammoth.mp4", 3, 32, 8, 16, 6, 768],
|
30 |
]
|
31 |
|
32 |
|
|
|
127 |
with gr.Column(scale=1):
|
128 |
input_video = gr.Video(label="Input Video")
|
129 |
|
130 |
+
with gr.Column(scale=2):
|
131 |
with gr.Row(equal_height=True):
|
132 |
output_video = gr.Video(
|
133 |
+
label="Ouput Video & Depth",
|
134 |
interactive=False,
|
135 |
autoplay=True,
|
136 |
loop=True,
|
137 |
show_share_button=True,
|
138 |
+
scale=2,
|
139 |
)
|
140 |
|
141 |
with gr.Row(equal_height=True):
|
|
|
185 |
step=32,
|
186 |
)
|
187 |
generate_btn = gr.Button("Generate")
|
188 |
+
with gr.Column(scale=1):
|
189 |
pass
|
190 |
|
191 |
gr.Examples(
|