MCPcopy Create free account
hub / github.com/Sygil-Dev/sygil-webui / download_model

Function download_model

scripts/ModelManager.py:86–90  ·  view source on GitHub ↗

Download all files from model_list[model_name]

(models, model_name)

Source from the content-addressed store, hash-verified

84
85
86def download_model(models, model_name):
87 """Download all files from model_list[model_name]"""
88 for file in models[model_name]:
89 download_file(file["file_name"], file["file_path"], file["file_url"])
90 return
91
92
93def layout():

Callers

nothing calls this directly

Calls 1

download_fileFunction · 0.70

Tested by

no test coverage detected