None1145 commited on
Commit
26c1164
1 Parent(s): d090336

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  import io
2
  import gradio as gr
3
  import librosa
@@ -108,5 +111,5 @@ with app:
108
  vc_submit = gr.Button("Convert", variant="primary")
109
  vc_output1 = gr.Textbox(label="Output Message")
110
  vc_output2 = gr.Audio(label="Output Audio")
111
- vc_submit.click(vc_fn, [speaker, vc_input3, vc_transform,auto_f0,cluster_ratio, slice_db, noise_scale], [vc_output1, vc_output2])
112
  app.launch()
 
1
+ model = None
2
+ sid = ""
3
+
4
  import io
5
  import gradio as gr
6
  import librosa
 
111
  vc_submit = gr.Button("Convert", variant="primary")
112
  vc_output1 = gr.Textbox(label="Output Message")
113
  vc_output2 = gr.Audio(label="Output Audio")
114
+ vc_submit.click(vc_fn, [speaker, vc_input3, vc_transform,auto_f0,cluster_ratio, slice_db, noise_scale], [vc_output1, vc_output2])
115
  app.launch()