Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/AkagawaTsurunaki/zerolan-core
/ functions
Functions
159 in github.com/AkagawaTsurunaki/zerolan-core
⨍
Functions
159
◇
Types & classes
39
↳
Endpoints
8
Method
_handle_stream_predict
(self)
tts/app.py:16
Method
_handle_stream_predict
(self)
vla/showui/app.py:49
Function
convert_to_mono
(input_file, output_file, sample_rate: int = 16000)
utils/audio_util.py:5
Function
decorator
(func)
common/decorator.py:9
Function
from_bytes_to_np_ndarray
Convert byte data to np.ndarray format. Args: bytes_data: Audio bytes of data. dtype: Default is float32. Returns: Retur
utils/audio_util.py:26
Function
from_file_to_np_array
(input_file: str, dtype: str = "float32")
utils/audio_util.py:19
Method
generate_output
(q: LLMQuery)
llm/app.py:40
Function
get_obj_from_json
(request: Request, type: T)
utils/web_util.py:12
Method
handle_predict
()
asr/app.py:25
Method
handle_predict
()
llm/app.py:24
Method
handle_stream_predict
()
asr/app.py:54
Method
handle_stream_predict
()
llm/app.py:36
Function
issue_solver
()
common/decorator.py:29
Method
load_bf16
()
llm/qwen/model.py:47
Method
load_fp16
()
llm/qwen/model.py:54
Method
load_model
Load the model.
asr/paraformer/model.py:40
Method
load_model
(self)
llm/deepseek/model.py:27
Method
load_model
验证 Ollama 服务是否可用
llm/ollama/model.py:31
Method
load_model
(self)
llm/shisa/model.py:36
Method
load_model
(self)
llm/chatglm3/model.py:27
Method
load_model
(self)
llm/qwen/model.py:43
Method
load_model
(self)
llm/glm4/model.py:28
Method
load_model
(self)
tts/gpt_sovits/model.py:17
Method
load_model
(self)
common/abs_model.py:11
Function
log_model_loading
(model_info)
common/decorator.py:8
Method
predict
Predict words from the audio wave. Args: query: Contains audio data with a sample rate of 16000 and is mono Retu
asr/paraformer/model.py:47
Method
predict
(self, llm_query: LLMQuery)
llm/deepseek/model.py:30
Method
predict
使用 Ollama API 进行推理 Args: llm_query: See zerolan.data.pipeline.llm.LLMQuery Returns: See zerolan.data.pipeline.ll
llm/ollama/model.py:60
Method
predict
Predict tokens based on history and query from LLM. Args: llm_query: See zerolan.data.pipeline.llm.LLMQuery Retu
llm/shisa/model.py:46
Method
predict
Predict tokens based on history and query from LLM. Args: llm_query: See zerolan.data.pipeline.llm.LLMQuery Retu
llm/chatglm3/model.py:40
Method
predict
Predict tokens based on history and query from LLM. Args: llm_query: See zerolan.data.pipeline.llm.LLMQuery Retu
llm/qwen/model.py:66
Method
predict
(self, llm_query: LLMQuery)
llm/glm4/model.py:38
Method
predict
(self, *args, **kwargs)
tts/gpt_sovits/model.py:20
Method
predict
(self, *args, **kwargs)
common/abs_model.py:15
Method
run
(self)
llm/app.py:17
Method
run
(self)
database/milvus/milvus.py:109
Method
run
(self)
img_cap/app.py:18
Method
run
(self)
vid_cap/app.py:23
Method
run
(self)
ocr/app.py:19
Method
run
(self)
tts/app.py:10
Method
run
(self)
common/abs_app.py:24
Method
run
(self)
vla/showui/app.py:22
Function
save_request_audio
(request: Request, prefix: str)
utils/web_util.py:47
Function
save_request_image
(request: Request, prefix: str)
utils/web_util.py:21
Method
stream_predict
Stream predict words from the audio wave. Args: query: Contains audio data with a sample rate of 16000 and is mono
asr/paraformer/model.py:63
Method
stream_predict
(self, *args, **kwargs)
llm/deepseek/model.py:40
Method
stream_predict
使用 Ollama API 进行流式推理 Args: llm_query: See zerolan.data.pipeline.llm.LLMQuery Returns: Iterator of zerolan.data.p
llm/ollama/model.py:103
Method
stream_predict
Stream predict tokens based on history and query from LLM. Args: llm_query: See zerolan.data.pipeline.llm.LLMQuery
llm/shisa/model.py:78
Method
stream_predict
Stream predict tokens based on history and query from LLM. Args: llm_query: See zerolan.data.pipeline.llm.LLMQuery
llm/chatglm3/model.py:57
Method
stream_predict
Stream predict tokens based on history and query from LLM. Args: llm_query: See zerolan.data.pipeline.llm.LLMQuery
llm/qwen/model.py:81
Method
stream_predict
(self, llm_query: LLMQuery)
llm/glm4/model.py:58
Method
stream_predict
(self, *args, **kwargs)
img_cap/blip/model.py:44
Method
stream_predict
(self, *args, **kwargs)
vid_cap/hitea/model.py:43
Method
stream_predict
(self, *args, **kwargs)
ocr/paddle/model.py:48
Method
stream_predict
(self, *args, **kwargs)
tts/gpt_sovits/model.py:23
Method
stream_predict
(self, *args, **kwargs)
common/abs_model.py:19
Method
stream_predict
(self, *args, **kwargs)
vla/showui/model.py:225
Method
validate_model_id
(self, model_id: str)
common/abs_app.py:27
Function
wrapper
(*args, **kwargs)
common/decorator.py:11
← previous
101–159 of 159, ranked by callers