Spaces:
Running
Running
Update app.py
Browse files
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 |
-
|
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()
|