Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ASLP-lab/VoiceSculptor
/ functions
Functions
41 in github.com/ASLP-lab/VoiceSculptor
⨍
Functions
41
◇
Types & classes
3
↳
Endpoints
1
↓ 2 callers
Function
get_embedding
生成文本embedding
rag/create_database.py:29
↓ 2 callers
Function
normalize_text_final
(user_input)
gradio/webui.py:88
↓ 2 callers
Function
rag_infer
(text: str, timeout=2.0)
gradio/webui.py:32
↓ 2 callers
Method
search
搜索最匹配的音频
rag/create_database.py:96
↓ 1 callers
Function
_pre_init_cuda_env
必须在任何 cuda import 前调用
gradio/webui.py:243
↓ 1 callers
Method
_start_workers
(self, model_path: str, codec_path: str)
gradio/webui.py:348
↓ 1 callers
Function
build_app
(llasa_1b, codec_path)
gradio/webui.py:484
↓ 1 callers
Function
build_control_tags
( age, gender, pitch, pitch_var, volume, speed, emo )
gradio/webui.py:492
↓ 1 callers
Function
build_data_generator
数据生成器,避免内存爆炸
rag/create_database.py:169
↓ 1 callers
Method
create_collection
创建集合(如果已存在则删除重建)
rag/create_database.py:45
↓ 1 callers
Function
extract_speech_ids
(speech_tokens_str)
infer.py:16
↓ 1 callers
Function
extract_speech_ids
(speech_tokens_str)
gradio/webui.py:94
↓ 1 callers
Function
get_asr
(wav)
gradio/webui.py:198
↓ 1 callers
Function
get_embedding
(text: str)
rag/server.py:18
↓ 1 callers
Method
get_results
等待并收集多个任务的结果 返回: (audio1, error1, audio2, error2, ...)
gradio/webui.py:393
↓ 1 callers
Function
inference_one
( model, codec_model, device, tokenizer, refined_text, instruct_text, control_tag
gradio/webui.py:107
↓ 1 callers
Method
insert_batch
分批插入数据,避免RPC超限
rag/create_database.py:69
↓ 1 callers
Function
load_audio_metadata
加载音频元数据,验证文件存在性
rag/create_database.py:118
↓ 1 callers
Function
load_model_and_get_dim
加载模型并自动检测输出维度,支持多卡
rag/create_database.py:12
↓ 1 callers
Function
parse_args
()
gradio/webui.py:893
↓ 1 callers
Function
rag_infer
(text: str, timeout=2.0)
rag/client.py:6
↓ 1 callers
Method
submit_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
Function
apply_template
(tpl_name)
gradio/webui.py:701
Function
apply_template_single
(tpl_name)
gradio/webui.py:704
Function
build_html_error_message
(error)
gradio/webui.py:74
Function
check_audio_validity
(wav_data)
gradio/webui.py:444
Function
get_embedding
(qwen3emb, text: str)
gradio/webui.py:70
Function
ids_to_speech_tokens
(speech_ids)
infer.py:9
Function
inference_cs2
(refined_text: str, instruct_text: str, ref_wav: str = None, user_instruct_tag: bool = False, cs2_if_rag_text:
gradio/webui.py:203
Function
inference_parallel
( refined_text, instruct_text, if_rag_text, age, gender, pitch, pitch_var, vol
gradio/webui.py:538
Function
normalize_me
(user_input)
gradio/webui.py:92
Function
normalize_text
(user_input, use_normalization)
gradio/webui.py:82
Function
rag_search
(req: RagQuery)
rag/server.py:23
Method
shutdown
(self)
gradio/webui.py:429
Function
toggle_audio_input
(user_provide)
gradio/webui.py:823
Function
toggle_instruct_input
(user_provide)
gradio/webui.py:817
Function
wav_chunk_header
(sample_rate=48000, bit_depth=16, channels=1)
gradio/webui.py:470
Function
worker_process
( worker_id: int, device: str, model_path: str, codec_path: str, task_queue: multiproces
gradio/webui.py:249