Spaces:
Runtime error
Runtime error
change app.py
Browse files
app.py
CHANGED
|
@@ -9,7 +9,7 @@ def tfr(source_img, driving_audio):
|
|
| 9 |
# print(video_path)
|
| 10 |
return video_path
|
| 11 |
|
| 12 |
-
tfr_demo = gr.Interface(fn=tfr, inputs=["
|
| 13 |
examples=[["./example/images/ABOUT_00514.jpg", "./example/audios/6343252661930009508_00092.wav"],
|
| 14 |
["./example/images/ABOUT_00994.jpg", "./example/audios/6350921755403330389_00056.wav"]])
|
| 15 |
|
|
|
|
| 9 |
# print(video_path)
|
| 10 |
return video_path
|
| 11 |
|
| 12 |
+
tfr_demo = gr.Interface(fn=tfr, inputs=[gr.Image(type="filepath"), gr.Audio(type="filepath")], outputs="video",
|
| 13 |
examples=[["./example/images/ABOUT_00514.jpg", "./example/audios/6343252661930009508_00092.wav"],
|
| 14 |
["./example/images/ABOUT_00994.jpg", "./example/audios/6350921755403330389_00056.wav"]])
|
| 15 |
|