abreza commited on
Commit
f1e3ccc
1 Parent(s): e1fd5b9
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -184,7 +184,6 @@ def test(source_image, driven_audio, preprocess='crop',
184
  return_path = animate_from_coeff.generate(
185
  data, save_dir, pic_path, crop_info, enhancer='gfpgan' if use_enhancer else None, preprocess=preprocess, img_size=size)
186
  video_name = data['video_name']
187
- print('!!!!!')
188
  print(f'The generated video is named {video_name} in {save_dir}')
189
 
190
  return return_path
@@ -267,8 +266,7 @@ with gr.Blocks(analytics_enabled=False) as demo:
267
  'Generate', elem_id="sadtalker_generate", variant='primary')
268
 
269
  with gr.Tabs(elem_id="sadtalker_genearted"):
270
- gen_video = gr.Video(
271
- label="Generated video", format="mp4")
272
 
273
  submit.click(
274
  fn=test,
 
184
  return_path = animate_from_coeff.generate(
185
  data, save_dir, pic_path, crop_info, enhancer='gfpgan' if use_enhancer else None, preprocess=preprocess, img_size=size)
186
  video_name = data['video_name']
 
187
  print(f'The generated video is named {video_name} in {save_dir}')
188
 
189
  return return_path
 
266
  'Generate', elem_id="sadtalker_generate", variant='primary')
267
 
268
  with gr.Tabs(elem_id="sadtalker_genearted"):
269
+ gen_video = gr.Video(label="Generated video")
 
270
 
271
  submit.click(
272
  fn=test,