multimodalart HF staff commited on
Commit
fef0beb
1 Parent(s): 3551b6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -0
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(