Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -64,6 +64,17 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
| 64 |
with gr.Row():
|
| 65 |
with gr.Accordion(open=True, label="Source Portrait"):
|
| 66 |
image_input = gr.Image(type="filepath")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 67 |
with gr.Accordion(open=True, label="Driving Video"):
|
| 68 |
video_input = gr.Video()
|
| 69 |
gr.Examples(
|
|
|
|
| 64 |
with gr.Row():
|
| 65 |
with gr.Accordion(open=True, label="Source Portrait"):
|
| 66 |
image_input = gr.Image(type="filepath")
|
| 67 |
+
gr.Examples(
|
| 68 |
+
examples=[
|
| 69 |
+
[osp.join(example_video_dir, "s9.jpg")],
|
| 70 |
+
[osp.join(example_video_dir, "s6.jpg")],
|
| 71 |
+
[osp.join(example_video_dir, "s10.jpg")],
|
| 72 |
+
[osp.join(example_video_dir, "s5.jpg")],
|
| 73 |
+
[osp.join(example_video_dir, "s7.jpg")],
|
| 74 |
+
],
|
| 75 |
+
inputs=[image_input],
|
| 76 |
+
cache_examples=False,
|
| 77 |
+
)
|
| 78 |
with gr.Accordion(open=True, label="Driving Video"):
|
| 79 |
video_input = gr.Video()
|
| 80 |
gr.Examples(
|