del_pycache
Browse files- AR/__pycache__/__init__.cpython-39.pyc +0 -0
- AR/models/__pycache__/__init__.cpython-39.pyc +0 -0
- AR/models/__pycache__/t2s_lightning_module.cpython-39.pyc +0 -0
- AR/models/__pycache__/t2s_model.cpython-39.pyc +0 -0
- AR/models/__pycache__/utils.cpython-39.pyc +0 -0
- AR/modules/__pycache__/__init__.cpython-39.pyc +0 -0
- AR/modules/__pycache__/activation.cpython-39.pyc +0 -0
- AR/modules/__pycache__/embedding.cpython-39.pyc +0 -0
- AR/modules/__pycache__/lr_schedulers.cpython-39.pyc +0 -0
- AR/modules/__pycache__/optim.cpython-39.pyc +0 -0
- AR/modules/__pycache__/patched_mha_with_cache.cpython-39.pyc +0 -0
- AR/modules/__pycache__/scaling.cpython-39.pyc +0 -0
- AR/modules/__pycache__/transformer.cpython-39.pyc +0 -0
- feature_extractor/__pycache__/__init__.cpython-39.pyc +0 -0
- feature_extractor/__pycache__/cnhubert.cpython-39.pyc +0 -0
- feature_extractor/__pycache__/whisper_enc.cpython-39.pyc +0 -0
- inference_webui.py +2 -2
- module/__pycache__/__init__.cpython-39.pyc +0 -0
- module/__pycache__/attentions.cpython-39.pyc +0 -0
- module/__pycache__/commons.cpython-39.pyc +0 -0
- module/__pycache__/core_vq.cpython-39.pyc +0 -0
- module/__pycache__/mel_processing.cpython-39.pyc +0 -0
- module/__pycache__/models.cpython-39.pyc +0 -0
- module/__pycache__/modules.cpython-39.pyc +0 -0
- module/__pycache__/mrte_model.cpython-39.pyc +0 -0
- module/__pycache__/quantize.cpython-39.pyc +0 -0
- module/__pycache__/transforms.cpython-39.pyc +0 -0
- tools/__pycache__/__init__.cpython-39.pyc +0 -0
- tools/__pycache__/my_utils.cpython-39.pyc +0 -0
AR/__pycache__/__init__.cpython-39.pyc
DELETED
Binary file (161 Bytes)
|
|
AR/models/__pycache__/__init__.cpython-39.pyc
DELETED
Binary file (168 Bytes)
|
|
AR/models/__pycache__/t2s_lightning_module.cpython-39.pyc
DELETED
Binary file (3.24 kB)
|
|
AR/models/__pycache__/t2s_model.cpython-39.pyc
DELETED
Binary file (12.7 kB)
|
|
AR/models/__pycache__/utils.cpython-39.pyc
DELETED
Binary file (6.65 kB)
|
|
AR/modules/__pycache__/__init__.cpython-39.pyc
DELETED
Binary file (169 Bytes)
|
|
AR/modules/__pycache__/activation.cpython-39.pyc
DELETED
Binary file (14 kB)
|
|
AR/modules/__pycache__/embedding.cpython-39.pyc
DELETED
Binary file (3.07 kB)
|
|
AR/modules/__pycache__/lr_schedulers.cpython-39.pyc
DELETED
Binary file (2.39 kB)
|
|
AR/modules/__pycache__/optim.cpython-39.pyc
DELETED
Binary file (18.9 kB)
|
|
AR/modules/__pycache__/patched_mha_with_cache.cpython-39.pyc
DELETED
Binary file (11.3 kB)
|
|
AR/modules/__pycache__/scaling.cpython-39.pyc
DELETED
Binary file (9.52 kB)
|
|
AR/modules/__pycache__/transformer.cpython-39.pyc
DELETED
Binary file (9.81 kB)
|
|
feature_extractor/__pycache__/__init__.cpython-39.pyc
DELETED
Binary file (283 Bytes)
|
|
feature_extractor/__pycache__/cnhubert.cpython-39.pyc
DELETED
Binary file (1.97 kB)
|
|
feature_extractor/__pycache__/whisper_enc.cpython-39.pyc
DELETED
Binary file (969 Bytes)
|
|
inference_webui.py
CHANGED
@@ -22,7 +22,7 @@ analytics.version_check = lambda:None
|
|
22 |
analytics.get_local_ip_address= lambda :"127.0.0.1"##不干掉本地联不通亚马逊的get_local_ip服务器
|
23 |
import LangSegment, os, re, sys, json
|
24 |
import pdb
|
25 |
-
|
26 |
import torch
|
27 |
|
28 |
version="v2"#os.environ.get("version","v2")
|
@@ -346,7 +346,7 @@ def merge_short_text_in_array(texts, threshold):
|
|
346 |
# cache_tokens={}#暂未实现清理机制
|
347 |
cache= {}
|
348 |
@torch.inference_mode()
|
349 |
-
|
350 |
def get_tts_wav(ref_wav_path, prompt_text, prompt_language, text, text_language, how_to_cut=i18n("不切"), top_k=20, top_p=0.6, temperature=0.6, ref_free = False,speed=1,if_freeze=False,inp_refs=123):
|
351 |
global cache
|
352 |
if ref_wav_path:pass
|
|
|
22 |
analytics.get_local_ip_address= lambda :"127.0.0.1"##不干掉本地联不通亚马逊的get_local_ip服务器
|
23 |
import LangSegment, os, re, sys, json
|
24 |
import pdb
|
25 |
+
import spaces
|
26 |
import torch
|
27 |
|
28 |
version="v2"#os.environ.get("version","v2")
|
|
|
346 |
# cache_tokens={}#暂未实现清理机制
|
347 |
cache= {}
|
348 |
@torch.inference_mode()
|
349 |
+
@spaces.GPU
|
350 |
def get_tts_wav(ref_wav_path, prompt_text, prompt_language, text, text_language, how_to_cut=i18n("不切"), top_k=20, top_p=0.6, temperature=0.6, ref_free = False,speed=1,if_freeze=False,inp_refs=123):
|
351 |
global cache
|
352 |
if ref_wav_path:pass
|
module/__pycache__/__init__.cpython-39.pyc
DELETED
Binary file (165 Bytes)
|
|
module/__pycache__/attentions.cpython-39.pyc
DELETED
Binary file (15.9 kB)
|
|
module/__pycache__/commons.cpython-39.pyc
DELETED
Binary file (6.64 kB)
|
|
module/__pycache__/core_vq.cpython-39.pyc
DELETED
Binary file (11.4 kB)
|
|
module/__pycache__/mel_processing.cpython-39.pyc
DELETED
Binary file (3.55 kB)
|
|
module/__pycache__/models.cpython-39.pyc
DELETED
Binary file (24.1 kB)
|
|
module/__pycache__/modules.cpython-39.pyc
DELETED
Binary file (22.7 kB)
|
|
module/__pycache__/mrte_model.cpython-39.pyc
DELETED
Binary file (4.94 kB)
|
|
module/__pycache__/quantize.cpython-39.pyc
DELETED
Binary file (4.55 kB)
|
|
module/__pycache__/transforms.cpython-39.pyc
DELETED
Binary file (3.93 kB)
|
|
tools/__pycache__/__init__.cpython-39.pyc
DELETED
Binary file (164 Bytes)
|
|
tools/__pycache__/my_utils.cpython-39.pyc
DELETED
Binary file (1.21 kB)
|
|