daddyjin commited on
Commit
b0d3572
·
1 Parent(s): 548dc0c

change app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=["image", "audio"], 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
 
 
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