Spaces:
Runtime error
Runtime error
edit app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ tfg_FONT_demo = gr.Interface(fn=tfg_FONT, inputs=[gr.Image(type="filepath"), gr.
|
|
13 |
["./example/images/7.png", "./example/audios/6350921755403330389_00056.wav"]])
|
14 |
|
15 |
def tfg_OPT(source_img, driving_audio):
|
16 |
-
tfg = OPT()
|
17 |
video_path = tfg.test(source_image=source_img, driven_audio=driving_audio)
|
18 |
return video_path
|
19 |
|
|
|
13 |
["./example/images/7.png", "./example/audios/6350921755403330389_00056.wav"]])
|
14 |
|
15 |
def tfg_OPT(source_img, driving_audio):
|
16 |
+
tfg = OPT(checkpoint_path='./Demo_TFR_Pirenderer/checkpoints', config_path='./Demo_TFR_Pirenderer/src/config')
|
17 |
video_path = tfg.test(source_image=source_img, driven_audio=driving_audio)
|
18 |
return video_path
|
19 |
|