MCPcopy Create free account
hub / github.com/ModelTC/LightX2V / download_tokenizer_handler

Function download_tokenizer_handler

app/utils/model_handlers.py:541–563  ·  view source on GitHub ↗

下载 Tokenizer 处理函数 Args: model_path_val: 模型路径 tokenizer_type: tokenizer 类型 ("t5" 或 "clip") download_source_val: 下载源 progress: Gradio 进度条 Returns: tuple: (status_update, dropdown_update, btn_visible_update)

(model_path_val, tokenizer_type, download_source_val, progress=gr.Progress())

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

download_t5_tokenizerFunction · 0.85
download_clip_tokenizerFunction · 0.85

Calls 4

download_modelFunction · 0.85
update_tokenizer_statusFunction · 0.85
getMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected