Spaces:
Runtime error
Runtime error
StormblessedKal
commited on
Commit
•
373c160
1
Parent(s):
9e06fd0
fix extractor
Browse files- src/Modules/__pycache__/__init__.cpython-310.pyc +0 -0
- src/Modules/__pycache__/discriminators.cpython-310.pyc +0 -0
- src/Modules/__pycache__/hifigan.cpython-310.pyc +0 -0
- src/Modules/__pycache__/utils.cpython-310.pyc +0 -0
- src/Modules/diffusion/__pycache__/__init__.cpython-310.pyc +0 -0
- src/Modules/diffusion/__pycache__/diffusion.cpython-310.pyc +0 -0
- src/Modules/diffusion/__pycache__/modules.cpython-310.pyc +0 -0
- src/Modules/diffusion/__pycache__/sampler.cpython-310.pyc +0 -0
- src/Modules/diffusion/__pycache__/utils.cpython-310.pyc +0 -0
- src/Utils/ASR/__pycache__/__init__.cpython-310.pyc +0 -0
- src/Utils/ASR/__pycache__/layers.cpython-310.pyc +0 -0
- src/Utils/ASR/__pycache__/models.cpython-310.pyc +0 -0
- src/Utils/JDC/__pycache__/__init__.cpython-310.pyc +0 -0
- src/Utils/JDC/__pycache__/model.cpython-310.pyc +0 -0
- src/Utils/PLBERT/__pycache__/util.cpython-310.pyc +0 -0
- src/Utils/__pycache__/__init__.cpython-310.pyc +0 -0
- src/__pycache__/api.cpython-310.pyc +0 -0
- src/__pycache__/attentions.cpython-310.pyc +0 -0
- src/__pycache__/commons.cpython-310.pyc +0 -0
- src/__pycache__/mel_processing.cpython-310.pyc +0 -0
- src/__pycache__/models.cpython-310.pyc +0 -0
- src/__pycache__/modules.cpython-310.pyc +0 -0
- src/__pycache__/predict.cpython-310.pyc +0 -0
- src/__pycache__/rp_schema.cpython-310.pyc +0 -0
- src/__pycache__/se_extractor.cpython-310.pyc +0 -0
- src/__pycache__/text_utils.cpython-310.pyc +0 -0
- src/__pycache__/transforms.cpython-310.pyc +0 -0
- src/__pycache__/utils.cpython-310.pyc +0 -0
- src/se_extractor.py +4 -0
- src/text/__pycache__/__init__.cpython-310.pyc +0 -0
- src/text/__pycache__/cleaners.cpython-310.pyc +0 -0
- src/text/__pycache__/english.cpython-310.pyc +0 -0
- src/text/__pycache__/mandarin.cpython-310.pyc +0 -0
- src/text/__pycache__/symbols.cpython-310.pyc +0 -0
src/Modules/__pycache__/__init__.cpython-310.pyc
CHANGED
Binary files a/src/Modules/__pycache__/__init__.cpython-310.pyc and b/src/Modules/__pycache__/__init__.cpython-310.pyc differ
|
|
src/Modules/__pycache__/discriminators.cpython-310.pyc
CHANGED
Binary files a/src/Modules/__pycache__/discriminators.cpython-310.pyc and b/src/Modules/__pycache__/discriminators.cpython-310.pyc differ
|
|
src/Modules/__pycache__/hifigan.cpython-310.pyc
CHANGED
Binary files a/src/Modules/__pycache__/hifigan.cpython-310.pyc and b/src/Modules/__pycache__/hifigan.cpython-310.pyc differ
|
|
src/Modules/__pycache__/utils.cpython-310.pyc
CHANGED
Binary files a/src/Modules/__pycache__/utils.cpython-310.pyc and b/src/Modules/__pycache__/utils.cpython-310.pyc differ
|
|
src/Modules/diffusion/__pycache__/__init__.cpython-310.pyc
CHANGED
Binary files a/src/Modules/diffusion/__pycache__/__init__.cpython-310.pyc and b/src/Modules/diffusion/__pycache__/__init__.cpython-310.pyc differ
|
|
src/Modules/diffusion/__pycache__/diffusion.cpython-310.pyc
CHANGED
Binary files a/src/Modules/diffusion/__pycache__/diffusion.cpython-310.pyc and b/src/Modules/diffusion/__pycache__/diffusion.cpython-310.pyc differ
|
|
src/Modules/diffusion/__pycache__/modules.cpython-310.pyc
CHANGED
Binary files a/src/Modules/diffusion/__pycache__/modules.cpython-310.pyc and b/src/Modules/diffusion/__pycache__/modules.cpython-310.pyc differ
|
|
src/Modules/diffusion/__pycache__/sampler.cpython-310.pyc
CHANGED
Binary files a/src/Modules/diffusion/__pycache__/sampler.cpython-310.pyc and b/src/Modules/diffusion/__pycache__/sampler.cpython-310.pyc differ
|
|
src/Modules/diffusion/__pycache__/utils.cpython-310.pyc
CHANGED
Binary files a/src/Modules/diffusion/__pycache__/utils.cpython-310.pyc and b/src/Modules/diffusion/__pycache__/utils.cpython-310.pyc differ
|
|
src/Utils/ASR/__pycache__/__init__.cpython-310.pyc
CHANGED
Binary files a/src/Utils/ASR/__pycache__/__init__.cpython-310.pyc and b/src/Utils/ASR/__pycache__/__init__.cpython-310.pyc differ
|
|
src/Utils/ASR/__pycache__/layers.cpython-310.pyc
CHANGED
Binary files a/src/Utils/ASR/__pycache__/layers.cpython-310.pyc and b/src/Utils/ASR/__pycache__/layers.cpython-310.pyc differ
|
|
src/Utils/ASR/__pycache__/models.cpython-310.pyc
CHANGED
Binary files a/src/Utils/ASR/__pycache__/models.cpython-310.pyc and b/src/Utils/ASR/__pycache__/models.cpython-310.pyc differ
|
|
src/Utils/JDC/__pycache__/__init__.cpython-310.pyc
CHANGED
Binary files a/src/Utils/JDC/__pycache__/__init__.cpython-310.pyc and b/src/Utils/JDC/__pycache__/__init__.cpython-310.pyc differ
|
|
src/Utils/JDC/__pycache__/model.cpython-310.pyc
CHANGED
Binary files a/src/Utils/JDC/__pycache__/model.cpython-310.pyc and b/src/Utils/JDC/__pycache__/model.cpython-310.pyc differ
|
|
src/Utils/PLBERT/__pycache__/util.cpython-310.pyc
CHANGED
Binary files a/src/Utils/PLBERT/__pycache__/util.cpython-310.pyc and b/src/Utils/PLBERT/__pycache__/util.cpython-310.pyc differ
|
|
src/Utils/__pycache__/__init__.cpython-310.pyc
CHANGED
Binary files a/src/Utils/__pycache__/__init__.cpython-310.pyc and b/src/Utils/__pycache__/__init__.cpython-310.pyc differ
|
|
src/__pycache__/api.cpython-310.pyc
CHANGED
Binary files a/src/__pycache__/api.cpython-310.pyc and b/src/__pycache__/api.cpython-310.pyc differ
|
|
src/__pycache__/attentions.cpython-310.pyc
CHANGED
Binary files a/src/__pycache__/attentions.cpython-310.pyc and b/src/__pycache__/attentions.cpython-310.pyc differ
|
|
src/__pycache__/commons.cpython-310.pyc
CHANGED
Binary files a/src/__pycache__/commons.cpython-310.pyc and b/src/__pycache__/commons.cpython-310.pyc differ
|
|
src/__pycache__/mel_processing.cpython-310.pyc
CHANGED
Binary files a/src/__pycache__/mel_processing.cpython-310.pyc and b/src/__pycache__/mel_processing.cpython-310.pyc differ
|
|
src/__pycache__/models.cpython-310.pyc
CHANGED
Binary files a/src/__pycache__/models.cpython-310.pyc and b/src/__pycache__/models.cpython-310.pyc differ
|
|
src/__pycache__/modules.cpython-310.pyc
CHANGED
Binary files a/src/__pycache__/modules.cpython-310.pyc and b/src/__pycache__/modules.cpython-310.pyc differ
|
|
src/__pycache__/predict.cpython-310.pyc
CHANGED
Binary files a/src/__pycache__/predict.cpython-310.pyc and b/src/__pycache__/predict.cpython-310.pyc differ
|
|
src/__pycache__/rp_schema.cpython-310.pyc
CHANGED
Binary files a/src/__pycache__/rp_schema.cpython-310.pyc and b/src/__pycache__/rp_schema.cpython-310.pyc differ
|
|
src/__pycache__/se_extractor.cpython-310.pyc
CHANGED
Binary files a/src/__pycache__/se_extractor.cpython-310.pyc and b/src/__pycache__/se_extractor.cpython-310.pyc differ
|
|
src/__pycache__/text_utils.cpython-310.pyc
CHANGED
Binary files a/src/__pycache__/text_utils.cpython-310.pyc and b/src/__pycache__/text_utils.cpython-310.pyc differ
|
|
src/__pycache__/transforms.cpython-310.pyc
CHANGED
Binary files a/src/__pycache__/transforms.cpython-310.pyc and b/src/__pycache__/transforms.cpython-310.pyc differ
|
|
src/__pycache__/utils.cpython-310.pyc
CHANGED
Binary files a/src/__pycache__/utils.cpython-310.pyc and b/src/__pycache__/utils.cpython-310.pyc differ
|
|
src/se_extractor.py
CHANGED
@@ -151,3 +151,7 @@ def generate_voice_segments(audio_path, target_dir='processed', vad=True):
|
|
151 |
if len(audio_segs) == 0:
|
152 |
raise NotImplementedError('No audio segments found!')
|
153 |
|
|
|
|
|
|
|
|
|
|
151 |
if len(audio_segs) == 0:
|
152 |
raise NotImplementedError('No audio segments found!')
|
153 |
|
154 |
+
|
155 |
+
def load_model():
|
156 |
+
model = WhisperModel(model_size, device="cpu", compute_type="float16")
|
157 |
+
|
src/text/__pycache__/__init__.cpython-310.pyc
CHANGED
Binary files a/src/text/__pycache__/__init__.cpython-310.pyc and b/src/text/__pycache__/__init__.cpython-310.pyc differ
|
|
src/text/__pycache__/cleaners.cpython-310.pyc
CHANGED
Binary files a/src/text/__pycache__/cleaners.cpython-310.pyc and b/src/text/__pycache__/cleaners.cpython-310.pyc differ
|
|
src/text/__pycache__/english.cpython-310.pyc
CHANGED
Binary files a/src/text/__pycache__/english.cpython-310.pyc and b/src/text/__pycache__/english.cpython-310.pyc differ
|
|
src/text/__pycache__/mandarin.cpython-310.pyc
CHANGED
Binary files a/src/text/__pycache__/mandarin.cpython-310.pyc and b/src/text/__pycache__/mandarin.cpython-310.pyc differ
|
|
src/text/__pycache__/symbols.cpython-310.pyc
CHANGED
Binary files a/src/text/__pycache__/symbols.cpython-310.pyc and b/src/text/__pycache__/symbols.cpython-310.pyc differ
|
|