Spaces:
Configuration error
Configuration error
address #76 #29
Browse files- README.md +0 -2
- gradio_app.py +1 -1
- requirements.txt +1 -0
README.md
CHANGED
@@ -33,8 +33,6 @@ Install other packages:
|
|
33 |
pip install -r requirements.txt
|
34 |
```
|
35 |
|
36 |
-
**Note**: install numpy with version < 2.x, e.g. `pip install numpy==1.22.0`.
|
37 |
-
|
38 |
## Prepare Dataset
|
39 |
|
40 |
Example data processing scripts for Emilia and Wenetspeech4TTS, and you may tailor your own one along with a Dataset class in `model/dataset.py`.
|
|
|
33 |
pip install -r requirements.txt
|
34 |
```
|
35 |
|
|
|
|
|
36 |
## Prepare Dataset
|
37 |
|
38 |
Example data processing scripts for Emilia and Wenetspeech4TTS, and you may tailor your own one along with a Dataset class in `model/dataset.py`.
|
gradio_app.py
CHANGED
@@ -280,7 +280,7 @@ def infer_batch(ref_audio, ref_text, gen_text_batches, exp_name, remove_silence,
|
|
280 |
|
281 |
return (target_sample_rate, final_wave), spectrogram_path
|
282 |
|
283 |
-
def infer(ref_audio_orig, ref_text, gen_text, exp_name, remove_silence, custom_split_words):
|
284 |
if not custom_split_words.strip():
|
285 |
custom_words = [word.strip() for word in custom_split_words.split(',')]
|
286 |
global SPLIT_WORDS
|
|
|
280 |
|
281 |
return (target_sample_rate, final_wave), spectrogram_path
|
282 |
|
283 |
+
def infer(ref_audio_orig, ref_text, gen_text, exp_name, remove_silence, custom_split_words=''):
|
284 |
if not custom_split_words.strip():
|
285 |
custom_words = [word.strip() for word in custom_split_words.split(',')]
|
286 |
global SPLIT_WORDS
|
requirements.txt
CHANGED
@@ -12,6 +12,7 @@ jieba
|
|
12 |
jiwer
|
13 |
librosa
|
14 |
matplotlib
|
|
|
15 |
pydub
|
16 |
pypinyin
|
17 |
safetensors
|
|
|
12 |
jiwer
|
13 |
librosa
|
14 |
matplotlib
|
15 |
+
numpy==1.23.5
|
16 |
pydub
|
17 |
pypinyin
|
18 |
safetensors
|