daddyjin commited on
Commit
38b3e82
1 Parent(s): f10c0bf

add app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,8 +6,8 @@ def tfr(source_img, driving_audio):
6
  src_image_path = './FONT/test/image/ABOUT_00994.jpg'
7
  driving_audio_path = './FONT/test/audio/00015.mp3'
8
  video_path = tfg.test(source_image_path=src_image_path, driving_audio_path=driving_audio_path)
9
- print(video_path)
10
- return None
11
 
12
  tfr_demo = gr.Interface(fn=tfr, inputs=["image", "audio"], outputs="video",
13
  examples=[["./example/images/ABOUT_00514.jpg", "./example/audios/6343252661930009508_00092.wav"],
 
6
  src_image_path = './FONT/test/image/ABOUT_00994.jpg'
7
  driving_audio_path = './FONT/test/audio/00015.mp3'
8
  video_path = tfg.test(source_image_path=src_image_path, driving_audio_path=driving_audio_path)
9
+ # print(video_path)
10
+ return video_path
11
 
12
  tfr_demo = gr.Interface(fn=tfr, inputs=["image", "audio"], outputs="video",
13
  examples=[["./example/images/ABOUT_00514.jpg", "./example/audios/6343252661930009508_00092.wav"],