Spaces:
Runtime error
Runtime error
add app.py for test
Browse files123456import gradio as grdef tfr(source_img, driving_audio):return Nonetfr_demo = gr.Interface(fn=tfr, inputs=["image", "audio"], outputs="video",123456789101112import gradio as grfrom FONT.gradio_demo import FONTdef tfr(source_img, driving_audio):tfg = FONT()src_image_path = './FONT/test/image/ABOUT_00994.jpg'driving_audio_path = './FONT/test/audio/00015.mp3'video_path = tfg.test(source_image_path=src_image_path, driving_audio_path=driving_audio_path)print(video_path)return Nonetfr_demo = gr.Interface(fn=tfr, inputs=["image", "audio"], outputs="video",
app.py+6