StormblessedKal commited on
Commit
373c160
1 Parent(s): 9e06fd0

fix extractor

Browse files
Files changed (34) hide show
  1. src/Modules/__pycache__/__init__.cpython-310.pyc +0 -0
  2. src/Modules/__pycache__/discriminators.cpython-310.pyc +0 -0
  3. src/Modules/__pycache__/hifigan.cpython-310.pyc +0 -0
  4. src/Modules/__pycache__/utils.cpython-310.pyc +0 -0
  5. src/Modules/diffusion/__pycache__/__init__.cpython-310.pyc +0 -0
  6. src/Modules/diffusion/__pycache__/diffusion.cpython-310.pyc +0 -0
  7. src/Modules/diffusion/__pycache__/modules.cpython-310.pyc +0 -0
  8. src/Modules/diffusion/__pycache__/sampler.cpython-310.pyc +0 -0
  9. src/Modules/diffusion/__pycache__/utils.cpython-310.pyc +0 -0
  10. src/Utils/ASR/__pycache__/__init__.cpython-310.pyc +0 -0
  11. src/Utils/ASR/__pycache__/layers.cpython-310.pyc +0 -0
  12. src/Utils/ASR/__pycache__/models.cpython-310.pyc +0 -0
  13. src/Utils/JDC/__pycache__/__init__.cpython-310.pyc +0 -0
  14. src/Utils/JDC/__pycache__/model.cpython-310.pyc +0 -0
  15. src/Utils/PLBERT/__pycache__/util.cpython-310.pyc +0 -0
  16. src/Utils/__pycache__/__init__.cpython-310.pyc +0 -0
  17. src/__pycache__/api.cpython-310.pyc +0 -0
  18. src/__pycache__/attentions.cpython-310.pyc +0 -0
  19. src/__pycache__/commons.cpython-310.pyc +0 -0
  20. src/__pycache__/mel_processing.cpython-310.pyc +0 -0
  21. src/__pycache__/models.cpython-310.pyc +0 -0
  22. src/__pycache__/modules.cpython-310.pyc +0 -0
  23. src/__pycache__/predict.cpython-310.pyc +0 -0
  24. src/__pycache__/rp_schema.cpython-310.pyc +0 -0
  25. src/__pycache__/se_extractor.cpython-310.pyc +0 -0
  26. src/__pycache__/text_utils.cpython-310.pyc +0 -0
  27. src/__pycache__/transforms.cpython-310.pyc +0 -0
  28. src/__pycache__/utils.cpython-310.pyc +0 -0
  29. src/se_extractor.py +4 -0
  30. src/text/__pycache__/__init__.cpython-310.pyc +0 -0
  31. src/text/__pycache__/cleaners.cpython-310.pyc +0 -0
  32. src/text/__pycache__/english.cpython-310.pyc +0 -0
  33. src/text/__pycache__/mandarin.cpython-310.pyc +0 -0
  34. 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