normalin commited on
Commit
35e81b5
·
verified ·
1 Parent(s): ae4fb4e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -15,5 +15,7 @@ def greet(source, target):
15
  )
16
  return "output.wav"
17
 
18
- demo = gr.Interface(fn=greet, inputs=["audio", "audio"], outputs="audio")
19
- demo.launch()
 
 
 
15
  )
16
  return "output.wav"
17
 
18
+ demo = gr.Interface(fn=greet, inputs=[gr.Audio(value="kratos.wav", type="filepath"),
19
+ gr.Audio(value="nikole_kidman.wav", type="filepath")],
20
+ outputs=gr.Audio(type="filepath"))
21
+ demo.launch()