awacke1 commited on
Commit
f5d8460
1 Parent(s): bb3b978

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -121,8 +121,13 @@ def greet(Text,Voicetoclone,VoiceMicrophone):
121
 
122
  demo = gr.Interface(
123
  fn=greet,
124
- inputs=[gr.inputs.Textbox(label='What would you like the voice to say? (max. 2000 characters per request)'),gr.Audio(type="filepath", source="upload",label='Please upload a voice to clone (max. 30mb)'),gr.Audio(source="microphone", type="filepath", streaming=True)],
 
 
 
 
 
125
  outputs="audio",
126
- title="🗣️ Clone Any Voice 🔊"
127
  )
128
  demo.launch()
 
121
 
122
  demo = gr.Interface(
123
  fn=greet,
124
+ inputs=[
125
+ label='Record voice to clone with microphone'),
126
+ gr.Audio(source="microphone", type="filepath", streaming=True)
127
+ gr.inputs.Textbox(label='Enter text for cloned voice to speak aloud.'),
128
+ gr.Audio(type="filepath",source="upload", label='Upload a voice to clone from audio file'),
129
+ ],
130
  outputs="audio",
131
+ title="🗣️ Clone Voice and Speak Aloud 🔊"
132
  )
133
  demo.launch()