OlaWod Ehsanrs2 commited on
Commit
d862b52
1 Parent(s): 9c07b7b

Update app.py (#6)

Browse files

- Update app.py (00251ad1b7abc1ef5ad368dfae4cfe265abd87c3)


Co-authored-by: Ehsan Rajabi safari <Ehsanrs2@users.noreply.huggingface.co>

Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -89,10 +89,10 @@ def convert(model, src, tgt):
89
  return out
90
 
91
  model = gr.Dropdown(choices=["FreeVC", "FreeVC-s", "FreeVC (24kHz)"], value="FreeVC",type="value", label="Model")
92
- audio1 = gr.inputs.Audio(label="Source Audio", type='filepath')
93
- audio2 = gr.inputs.Audio(label="Reference Audio", type='filepath')
94
  inputs = [model, audio1, audio2]
95
- outputs = gr.outputs.Audio(label="Output Audio", type='filepath')
96
 
97
  title = "FreeVC"
98
  description = "Gradio Demo for FreeVC: Towards High-Quality Text-Free One-Shot Voice Conversion. To use it, simply upload your audio, or click the example to load. Read more at the links below. Note: It seems that the WavLM checkpoint in HuggingFace is a little different from the one used to train FreeVC, which may degrade the performance a bit. In addition, speaker similarity can be largely affected if there are too much silence in the reference audio, so please <strong>trim</strong> it before submitting."
 
89
  return out
90
 
91
  model = gr.Dropdown(choices=["FreeVC", "FreeVC-s", "FreeVC (24kHz)"], value="FreeVC",type="value", label="Model")
92
+ audio1 = gr.Audio(label="Source Audio", type='filepath')
93
+ audio2 = gr.Audio(label="Reference Audio", type='filepath')
94
  inputs = [model, audio1, audio2]
95
+ outputs = gr.Audio(label="Output Audio", type='filepath')
96
 
97
  title = "FreeVC"
98
  description = "Gradio Demo for FreeVC: Towards High-Quality Text-Free One-Shot Voice Conversion. To use it, simply upload your audio, or click the example to load. Read more at the links below. Note: It seems that the WavLM checkpoint in HuggingFace is a little different from the one used to train FreeVC, which may degrade the performance a bit. In addition, speaker similarity can be largely affected if there are too much silence in the reference audio, so please <strong>trim</strong> it before submitting."