chan4lk commited on
Commit
0a3d291
1 Parent(s): 4cd2ebc

change to microphone

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -75,8 +75,8 @@ def clone(audio, file):
75
  return "./speech.wav"
76
 
77
  iface = gr.Interface(fn=clone,
78
- inputs=[gr.Audio(type='filepath', label='Voice reference audio file'), gr.File(label="Resume")],
79
- outputs=gr.Audio(label='Says'),
80
  title='Voice Clone',
81
  description="""
82
  whisper
 
75
  return "./speech.wav"
76
 
77
  iface = gr.Interface(fn=clone,
78
+ inputs=[gr.Audio(sources="microphone", type='filepath', label='Question from Resume'), gr.File(label="Resume")],
79
+ outputs=gr.Audio(label='Says', autoplay=True),
80
  title='Voice Clone',
81
  description="""
82
  whisper