MCPcopy Create free account

hub / github.com/ASLP-lab/VoiceSculptor / functions

Functions41 in github.com/ASLP-lab/VoiceSculptor

↓ 2 callersFunctionget_embedding
生成文本embedding
rag/create_database.py:29
↓ 2 callersFunctionnormalize_text_final
(user_input)
gradio/webui.py:88
↓ 2 callersFunctionrag_infer
(text: str, timeout=2.0)
gradio/webui.py:32
↓ 2 callersMethodsearch
搜索最匹配的音频
rag/create_database.py:96
↓ 1 callersFunction_pre_init_cuda_env
必须在任何 cuda import 前调用
gradio/webui.py:243
↓ 1 callersMethod_start_workers
(self, model_path: str, codec_path: str)
gradio/webui.py:348
↓ 1 callersFunctionbuild_app
(llasa_1b, codec_path)
gradio/webui.py:484
↓ 1 callersFunctionbuild_control_tags
( age, gender, pitch, pitch_var, volume, speed, emo )
gradio/webui.py:492
↓ 1 callersFunctionbuild_data_generator
数据生成器,避免内存爆炸
rag/create_database.py:169
↓ 1 callersMethodcreate_collection
创建集合(如果已存在则删除重建)
rag/create_database.py:45
↓ 1 callersFunctionextract_speech_ids
(speech_tokens_str)
infer.py:16
↓ 1 callersFunctionextract_speech_ids
(speech_tokens_str)
gradio/webui.py:94
↓ 1 callersFunctionget_asr
(wav)
gradio/webui.py:198
↓ 1 callersFunctionget_embedding
(text: str)
rag/server.py:18
↓ 1 callersMethodget_results
等待并收集多个任务的结果 返回: (audio1, error1, audio2, error2, ...)
gradio/webui.py:393
↓ 1 callersFunctioninference_one
( model, codec_model, device, tokenizer, refined_text, instruct_text, control_tag
gradio/webui.py:107
↓ 1 callersMethodinsert_batch
分批插入数据,避免RPC超限
rag/create_database.py:69
↓ 1 callersFunctionload_audio_metadata
加载音频元数据,验证文件存在性
rag/create_database.py:118
↓ 1 callersFunctionload_model_and_get_dim
加载模型并自动检测输出维度,支持多卡
rag/create_database.py:12
↓ 1 callersFunctionparse_args
()
gradio/webui.py:893
↓ 1 callersFunctionrag_infer
(text: str, timeout=2.0)
rag/client.py:6
↓ 1 callersMethodsubmit_task
提交任务,返回task_id
gradio/webui.py:378
Method__init__
(self, db_path, collection_name)
rag/create_database.py:40
Method__init__
(self, model_path: str, codec_path: str, devices: List[str])
gradio/webui.py:331
Method_collect_results
(self)
gradio/webui.py:360
Functionapply_template
(tpl_name)
gradio/webui.py:701
Functionapply_template_single
(tpl_name)
gradio/webui.py:704
Functionbuild_html_error_message
(error)
gradio/webui.py:74
Functioncheck_audio_validity
(wav_data)
gradio/webui.py:444
Functionget_embedding
(qwen3emb, text: str)
gradio/webui.py:70
Functionids_to_speech_tokens
(speech_ids)
infer.py:9
Functioninference_cs2
(refined_text: str, instruct_text: str, ref_wav: str = None, user_instruct_tag: bool = False, cs2_if_rag_text:
gradio/webui.py:203
Functioninference_parallel
( refined_text, instruct_text, if_rag_text, age, gender, pitch, pitch_var, vol
gradio/webui.py:538
Functionnormalize_me
(user_input)
gradio/webui.py:92
Functionnormalize_text
(user_input, use_normalization)
gradio/webui.py:82
Functionrag_search
(req: RagQuery)
rag/server.py:23
Methodshutdown
(self)
gradio/webui.py:429
Functiontoggle_audio_input
(user_provide)
gradio/webui.py:823
Functiontoggle_instruct_input
(user_provide)
gradio/webui.py:817
Functionwav_chunk_header
(sample_rate=48000, bit_depth=16, channels=1)
gradio/webui.py:470
Functionworker_process
( worker_id: int, device: str, model_path: str, codec_path: str, task_queue: multiproces
gradio/webui.py:249