Update sd_concepts_library_downloader.py

This commit is contained in:
Omar Sanseviero 2024-08-13 10:37:45 +02:00 committed by GitHub
parent 3ee7f6a46c
commit 1a74316f01
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -32,7 +32,7 @@ models = []
print("Downloading the sd concept library from the huggingface site.")
for model in models_list:
model_content = {}
model_id = model.modelId
model_id = model.id
url = f"https://huggingface.co/{model_id}"
try:
if not os.path.exists(os.path.join("../models/custom", model_id)):