yerang commited on
Commit
d4230d6
·
verified ·
1 Parent(s): c09f54d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -186,7 +186,7 @@ output_image_paste_back = gr.Image(type="numpy")
186
  output_video = gr.Video()
187
  output_video_concat = gr.Video()
188
 
189
- video_input = gr.Video()
190
  driving_video_path=gr.Video()
191
 
192
 
@@ -215,9 +215,9 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
215
  with gr.Row():
216
  #audio_path_component = gr.Textbox(label="Input", value="assets/examples/driving/test_aud.mp3")
217
  video_gen_button = gr.Button("Audio to Video generation", variant="primary")
218
- with gr.Row():
219
- #a2v_output = gr.Video()
220
- driving_video_path.render()
221
 
222
 
223
  gr.Markdown("### 3. Image to Talking Video")
@@ -240,7 +240,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
240
  cache_examples=False,
241
  )
242
  with gr.Accordion(open=True, label="Driving Video"):
243
- #video_input = gr.Video()
244
  gr.Examples(
245
  examples=[
246
  [osp.join(example_video_dir, "d0.mp4")],
 
186
  output_video = gr.Video()
187
  output_video_concat = gr.Video()
188
 
189
+ #video_input = gr.Video()
190
  driving_video_path=gr.Video()
191
 
192
 
 
215
  with gr.Row():
216
  #audio_path_component = gr.Textbox(label="Input", value="assets/examples/driving/test_aud.mp3")
217
  video_gen_button = gr.Button("Audio to Video generation", variant="primary")
218
+ # with gr.Row():
219
+ # #a2v_output = gr.Video()
220
+ # driving_video_path.render()
221
 
222
 
223
  gr.Markdown("### 3. Image to Talking Video")
 
240
  cache_examples=False,
241
  )
242
  with gr.Accordion(open=True, label="Driving Video"):
243
+ video_input = gr.Video()
244
  gr.Examples(
245
  examples=[
246
  [osp.join(example_video_dir, "d0.mp4")],