Spaces:
Runtime error
Runtime error
ramkamal2000
commited on
Commit
·
290bad3
1
Parent(s):
ff98a93
fix
Browse files
app.py
CHANGED
@@ -169,12 +169,12 @@ c3 = gr.Interface(
|
|
169 |
description="Use this cool too to convert your voice to another person's! \nThe first audio input requires an audio file that of the target speaker. The second and third audio inputs require audio files from the person who's voice you want to convert."
|
170 |
)
|
171 |
|
172 |
-
c1_m2 = gr.
|
173 |
fn=voice_conversion,
|
174 |
inputs=[gr.Audio(label='Target Speaker - Reference Clip'), gr.Audio(label='Input Speaker - Reference Clip', source='microphone'), gr.Audio(label='Input Speaker - Clip To Convert', source='microphone')],
|
175 |
outputs=gr.Audio(label='Target Speaker - Converted Clip'),
|
176 |
description="Use this cool too to convert your voice to another person's! \nThe first audio input requires an audio file that of the target speaker. The second and third audio inputs require live recordings from the person who's voice you want to convert."
|
177 |
)
|
178 |
|
179 |
-
demo = gr.TabbedInterface([c3, c1_m2], ["Pre-Recorded", "Microphone"], title="Voice Conversion
|
180 |
demo.launch(debug='True')
|
|
|
169 |
description="Use this cool too to convert your voice to another person's! \nThe first audio input requires an audio file that of the target speaker. The second and third audio inputs require audio files from the person who's voice you want to convert."
|
170 |
)
|
171 |
|
172 |
+
c1_m2 = gr.Interfacear
|
173 |
fn=voice_conversion,
|
174 |
inputs=[gr.Audio(label='Target Speaker - Reference Clip'), gr.Audio(label='Input Speaker - Reference Clip', source='microphone'), gr.Audio(label='Input Speaker - Clip To Convert', source='microphone')],
|
175 |
outputs=gr.Audio(label='Target Speaker - Converted Clip'),
|
176 |
description="Use this cool too to convert your voice to another person's! \nThe first audio input requires an audio file that of the target speaker. The second and third audio inputs require live recordings from the person who's voice you want to convert."
|
177 |
)
|
178 |
|
179 |
+
demo = gr.TabbedInterface([c3, c1_m2], ["Pre-Recorded", "Microphone"], title="Voice Conversion")
|
180 |
demo.launch(debug='True')
|