"git@developer.sourcefind.cn:orangecat/ollama.git" did not exist on "8125ce4cb65a0f121c79c57f702323d2b91b13b5"
Commit 1e4c4c14 authored by chenpangpang's avatar chenpangpang
Browse files

feat: 下载模型更新

parent 224dcb3e
...@@ -4,11 +4,28 @@ import os ...@@ -4,11 +4,28 @@ import os
os.environ['HF_ENDPOINT'] = 'https://hf-mirror.com' os.environ['HF_ENDPOINT'] = 'https://hf-mirror.com'
model_list = [ model_list = [
"openbmb/MiniCPM-V-2_6", "black-forest-labs/FLUX.1-dev",
"multimodalart/flux-tarot-v1",
"alvdansen/frosting_lane_flux",
"XLabs-AI/flux-RealismLora",
"nerijs/animation2k-flux",
"alvdansen/softserve_anime",
"veryVANYA/ps1-style-flux",
"alvdansen/flux-koda",
"davisbro/half_illustration",
"fofr/flux-wrong",
"linoyts/yarn_art_Flux_LoRA",
"SebastianBodza/Flux_Aquarell_Watercolor_v2",
"dataautogpt3/FLUX-SyntheticAnime",
"XLabs-AI/flux-lora-collection",
"kudzueye/Boreal",
"XLabs-AI/flux-lora-collection",
"XLabs-AI/flux-lora-collection",
"martintomov/retrofuturism-flux"
] ]
os.system("pip install -U huggingface-hub") #os.system("pip install -U huggingface-hub")
for model_path in model_list: for model_path in model_list:
os.system( os.system(
f"huggingface-cli download --resume-download {model_path} --local-dir ./{model_path} --local-dir-use-symlinks False") f"huggingface-cli download --resume-download {model_path} --local-dir ./{model_path} --local-dir-use-symlinks False --token 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")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment