ramkamal2000 commited on
Commit
25c8c76
1 Parent(s): 508cc0a
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -165,7 +165,8 @@ 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(
@@ -173,6 +174,6 @@ c1_m2 = gr.Interface(
173
  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')],
174
  outputs=gr.Audio(label='Target Speaker - Converted Clip')
175
  )
176
-
177
- demo = gr.TabbedInterface([c3, c1_m2], ["Pre-Recorded", "Microphone"], title="Voice Conversion using Your T T S")
178
  demo.launch(debug='True')
 
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
+ description=description="Use this cool too to convert your voice to another person's! The 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.Interface(
 
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
  )
177
+ s
178
+ demo = gr.TabbedInterface([c3, c1_m2], ["Pre-Recorded", "Microphone"], title="Voice Conversion using Your T T S")
179
  demo.launch(debug='True')