safer link

This commit is contained in:
lllyasviel 2023-12-12 21:53:13 -08:00
parent 02f3b2be19
commit 406133f0fb
4 changed files with 9087 additions and 4 deletions

1
.gitignore vendored
View File

@ -9,7 +9,6 @@ __pycache__
*.corrupted
*.partial
*.onnx
*.csv
sorted_styles.json
/input
/cache

View File

@ -30,13 +30,13 @@ def default_interrogator(image_rgb, threshold=0.35, character_threshold=0.85, ex
model_name = "wd-v1-4-moat-tagger-v2"
model_onnx_filename = load_file_from_url(
url=f'https://huggingface.co/SmilingWolf/{model_name}/resolve/main/model.onnx',
url=f'https://huggingface.co/lllyasviel/misc/resolve/main/{model_name}.onnx',
model_dir=path_clip_vision,
file_name=f'{model_name}.onnx',
)
model_csv_filename = load_file_from_url(
url=f'https://huggingface.co/SmilingWolf/{model_name}/resolve/main/selected_tags.csv',
url=f'https://huggingface.co/lllyasviel/misc/resolve/main/{model_name}.csv',
model_dir=path_clip_vision,
file_name=f'{model_name}.csv',
)

View File

@ -1 +1 @@
version = '2.1.834'
version = '2.1.835'

File diff suppressed because it is too large Load Diff