Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -42,8 +42,8 @@ title_md = "assets/gradio_title.md"
|
|
42 |
example_portrait_dir = "assets/examples/source"
|
43 |
example_video_dir = "assets/examples/driving"
|
44 |
|
45 |
-
source_video_input = gr.Video(label="Portrait Video Source", scale=8)
|
46 |
-
video_input = gr.Video(label="Driving Portrait Video", scale=8)
|
47 |
|
48 |
#################### interface logic ####################
|
49 |
css="""
|
@@ -51,6 +51,9 @@ css="""
|
|
51 |
max_width: 1400px;
|
52 |
margin: 0 auto;
|
53 |
}
|
|
|
|
|
|
|
54 |
"""
|
55 |
with gr.Blocks(css=css) as demo:
|
56 |
|
|
|
42 |
example_portrait_dir = "assets/examples/source"
|
43 |
example_video_dir = "assets/examples/driving"
|
44 |
|
45 |
+
source_video_input = gr.Video(label="Portrait Video Source", scale=8, elem_id="portrait-source")
|
46 |
+
video_input = gr.Video(label="Driving Portrait Video", scale=8, elem_id="driving-video")
|
47 |
|
48 |
#################### interface logic ####################
|
49 |
css="""
|
|
|
51 |
max_width: 1400px;
|
52 |
margin: 0 auto;
|
53 |
}
|
54 |
+
#portrait-source, #driving-vid{
|
55 |
+
margin-right: -80px;
|
56 |
+
}
|
57 |
"""
|
58 |
with gr.Blocks(css=css) as demo:
|
59 |
|