Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
update gradio
Browse files- README.md +1 -1
- app.py +2 -2
- requirements.txt +0 -1
- saved_model/info.json +2 -2
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: πποΈ
|
|
4 |
colorFrom: red
|
5 |
colorTo: pink
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 3.
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: mit
|
|
|
4 |
colorFrom: red
|
5 |
colorTo: pink
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 3.34.0
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: mit
|
app.py
CHANGED
@@ -13,7 +13,7 @@ import commons
|
|
13 |
import utils
|
14 |
import gradio as gr
|
15 |
import gradio.utils as gr_utils
|
16 |
-
import
|
17 |
from models import SynthesizerTrn
|
18 |
from text import text_to_sequence, _clean_text
|
19 |
from mel_processing import spectrogram_torch
|
@@ -306,7 +306,7 @@ if __name__ == '__main__':
|
|
306 |
download = gr.Button("Download Audio")
|
307 |
download.click(None, [], [], _js=download_audio_js.format(audio_id=f"svc-audio{i}"))
|
308 |
# clear inputs
|
309 |
-
source_tabs.set_event_trigger("
|
310 |
js="()=>[null,null]")
|
311 |
vc_submit.click(soft_vc_fn, [vc_input1, vc_input2, vc_input3],
|
312 |
[vc_output1, vc_output2])
|
|
|
13 |
import utils
|
14 |
import gradio as gr
|
15 |
import gradio.utils as gr_utils
|
16 |
+
import gradio_client.utils as gr_processing_utils
|
17 |
from models import SynthesizerTrn
|
18 |
from text import text_to_sequence, _clean_text
|
19 |
from mel_processing import spectrogram_torch
|
|
|
306 |
download = gr.Button("Download Audio")
|
307 |
download.click(None, [], [], _js=download_audio_js.format(audio_id=f"svc-audio{i}"))
|
308 |
# clear inputs
|
309 |
+
source_tabs.set_event_trigger("select", None, [], [vc_input2, vc_input3],
|
310 |
js="()=>[null,null]")
|
311 |
vc_submit.click(soft_vc_fn, [vc_input1, vc_input2, vc_input3],
|
312 |
[vc_output1, vc_output2])
|
requirements.txt
CHANGED
@@ -4,7 +4,6 @@ matplotlib
|
|
4 |
numpy
|
5 |
phonemizer
|
6 |
scipy
|
7 |
-
tensorboard
|
8 |
torch
|
9 |
torchvision
|
10 |
torchaudio
|
|
|
4 |
numpy
|
5 |
phonemizer
|
6 |
scipy
|
|
|
7 |
torch
|
8 |
torchvision
|
9 |
torchaudio
|
saved_model/info.json
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:ec1565a8f12e8d333dc8d233a472cc24398722f2fe2b63dd8223a5fea18ef06d
|
3 |
+
size 4842
|