Spaces:
Runtime error
Runtime error
add app.py
Browse files
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
|
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"],
|