Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -121,8 +121,13 @@ def greet(Text,Voicetoclone,VoiceMicrophone):
|
|
121 |
|
122 |
demo = gr.Interface(
|
123 |
fn=greet,
|
124 |
-
inputs=[
|
|
|
|
|
|
|
|
|
|
|
125 |
outputs="audio",
|
126 |
-
title="🗣️ Clone
|
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()
|