Spaces:
Runtime error
Runtime error
ramkamal2000
commited on
Commit
·
80f9b93
1
Parent(s):
cff5b01
added example in interface
Browse files
app.py
CHANGED
@@ -164,7 +164,8 @@ def voice_conversion(ta, ra, da):
|
|
164 |
c3 = gr.Interface(
|
165 |
fn=voice_conversion,
|
166 |
inputs=[gr.Audio(label='Target Speaker - Reference Clip'), gr.Audio(label='Input Speaker - Reference Clip'), gr.Audio(label='Input Speaker - Clip To Convert')],
|
167 |
-
outputs=gr.Audio(label='Target Speaker - Converted Clip')
|
|
|
168 |
)
|
169 |
|
170 |
c1_m2 = gr.Interface(
|
@@ -175,4 +176,4 @@ c1_m2 = gr.Interface(
|
|
175 |
|
176 |
demo = gr.TabbedInterface([c3, c1_m2], ["Pre-Recorded", "Microphone"])
|
177 |
|
178 |
-
demo.launch(debug=True)
|
|
|
164 |
c3 = gr.Interface(
|
165 |
fn=voice_conversion,
|
166 |
inputs=[gr.Audio(label='Target Speaker - Reference Clip'), gr.Audio(label='Input Speaker - Reference Clip'), gr.Audio(label='Input Speaker - Clip To Convert')],
|
167 |
+
outputs=gr.Audio(label='Target Speaker - Converted Clip'),
|
168 |
+
examples=[['ntr.wav', 'timcast1.wav', 'timcast1.wav']],
|
169 |
)
|
170 |
|
171 |
c1_m2 = gr.Interface(
|
|
|
176 |
|
177 |
demo = gr.TabbedInterface([c3, c1_m2], ["Pre-Recorded", "Microphone"])
|
178 |
|
179 |
+
demo.launch(debug='True')
|