You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
* cli_args: Add --duplicate-check-hash-function. * server.py: compare_image_hash configurable hash function Uses an argument added in cli_args to specify the type of hashing to default to for duplicate hash checking. Uses an `eval()` to identify the specific hashlib class to utilize, but ultimately safely operates because we have specific options and only those options/choices in the arg parser. So we don't have any unsafe input there. * Add hasher() to node_helpers * hashlib selection moved to node_helpers * default-hashing-function instead of dupe checking hasher This makes a default-hashing-function option instead of previous selected option. * Use args.default_hashing_function * Use safer handling for node_helpers.hasher() Uses a safer handling method than `eval` to evaluate default hashing function. * Stray parentheses are evil. * Indentation fix. Somehow when I hit save I didn't notice I missed a space to make indentation work proper. Oops! |
7 months ago | |
---|---|---|
.. | ||
cldm | 7 months ago | |
extra_samplers | 1 year ago | |
k_diffusion | 8 months ago | |
ldm | 8 months ago | |
sd1_tokenizer | 2 years ago | |
t2i_adapter | 8 months ago | |
taesd | 8 months ago | |
text_encoders | 7 months ago | |
checkpoint_pickle.py | 2 years ago | |
cli_args.py | 7 months ago | |
clip_config_bigg.json | 2 years ago | |
clip_model.py | 1 year ago | |
clip_vision.py | 12 months ago | |
clip_vision_config_g.json | 2 years ago | |
clip_vision_config_h.json | 2 years ago | |
clip_vision_config_vitl.json | 2 years ago | |
conds.py | 9 months ago | |
controlnet.py | 7 months ago | |
diffusers_convert.py | 11 months ago | |
diffusers_load.py | 1 year ago | |
gligen.py | 1 year ago | |
latent_formats.py | 8 months ago | |
lora.py | 7 months ago | |
model_base.py | 8 months ago | |
model_detection.py | 7 months ago | |
model_management.py | 8 months ago | |
model_patcher.py | 8 months ago | |
model_sampling.py | 7 months ago | |
ops.py | 8 months ago | |
options.py | 1 year ago | |
sample.py | 9 months ago | |
sampler_helpers.py | 11 months ago | |
samplers.py | 8 months ago | |
sd.py | 7 months ago | |
sd1_clip.py | 8 months ago | |
sd1_clip_config.json | 2 years ago | |
sd2_clip.py | 9 months ago | |
sd2_clip_config.json | 2 years ago | |
sdxl_clip.py | 9 months ago | |
supported_models.py | 7 months ago | |
supported_models_base.py | 11 months ago | |
types.py | 9 months ago | |
utils.py | 7 months ago |