Spaces:
Build error
Build error
ddd
commited on
Commit
·
c59ac2d
1
Parent(s):
354613a
fix gradio on space
Browse files
inference/svs/gradio/gradio_settings.yaml
CHANGED
@@ -2,13 +2,22 @@ title: 'DiffSinger'
|
|
2 |
description: |
|
3 |
Gradio demo for DiffSinger.
|
4 |
|
5 |
-
This model is trained on 5 hours single female singing voice samples of Opencpop dataset.
|
|
|
|
|
6 |
|
7 |
Please assign pitch and duration values to each Chinese character. The corresponding pitch and duration value of each character should be separated by a | separator. It is necessary to ensure that the note window separated by the separator is consistent with the number of Chinese characters (AP or SP is also a Chinese character).
|
8 |
-
|
|
|
9 |
|
10 |
The third example exhibits pitch value changing (C#4->C5).
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
article: |
|
13 |
Link to <a href='https://github.com/MoonInTheRiver/DiffSinger' style='color:blue;' target='_blank\'>Github REPO</a>
|
14 |
example_inputs:
|
|
|
2 |
description: |
|
3 |
Gradio demo for DiffSinger.
|
4 |
|
5 |
+
This model is trained on 5 hours single female singing voice samples of Opencpop dataset.
|
6 |
+
|
7 |
+
(该模型在开源数据集Opencpop的5小时单人歌声上训练。)
|
8 |
|
9 |
Please assign pitch and duration values to each Chinese character. The corresponding pitch and duration value of each character should be separated by a | separator. It is necessary to ensure that the note window separated by the separator is consistent with the number of Chinese characters (AP or SP is also a Chinese character).
|
10 |
+
|
11 |
+
(请给每个汉字分配音高和时值, 每个字对应的音高和时值需要用|分隔符隔开。需要保证分隔符分割出来的音符窗口与汉字个数(AP或SP也算一个汉字)一致。)
|
12 |
|
13 |
The third example exhibits pitch value changing (C#4->C5).
|
14 |
+
|
15 |
+
(第三个例子演示了乐谱变动 (C#4->C5)。)
|
16 |
+
|
17 |
+
Note: This space is running on CPU, inference times will be higher.
|
18 |
+
|
19 |
+
(该Demo是在Huggingface提供的CPU上运行的, 其推理速度在本地会更高一些)
|
20 |
+
|
21 |
article: |
|
22 |
Link to <a href='https://github.com/MoonInTheRiver/DiffSinger' style='color:blue;' target='_blank\'>Github REPO</a>
|
23 |
example_inputs:
|
inference/svs/gradio/infer.py
CHANGED
@@ -77,7 +77,7 @@ class GradioInfer:
|
|
77 |
article=self.article,
|
78 |
examples=example_inputs,
|
79 |
enable_queue=True)
|
80 |
-
iface.launch(share=True,
|
81 |
|
82 |
|
83 |
if __name__ == '__main__':
|
|
|
77 |
article=self.article,
|
78 |
examples=example_inputs,
|
79 |
enable_queue=True)
|
80 |
+
iface.launch(share=True, cache_examples=True)
|
81 |
|
82 |
|
83 |
if __name__ == '__main__':
|