Skip to content

Commit

Permalink
0.72
Browse files Browse the repository at this point in the history
  • Loading branch information
justUmen committed Feb 18, 2025
1 parent 17bef1d commit 48570fd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions API_civitai.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
"lora_pony": os.path.join(civitai_base_path, "lora_pony"),
"lora_flux.1_d": os.path.join(civitai_base_path, "lora_flux.1_d"),
"lora_hunyuan_video": os.path.join(civitai_base_path, "lora_hunyuan_video"),
"NSFW_lora_hunyuan_video": os.path.join(civitai_base_path, "NSFW_lora_hunyuan_video")
}
# "NSFW_lora_hunyuan_video": os.path.join(civitai_base_path, "NSFW_lora_hunyuan_video")

# Add folder paths for each image folder
for folder_name, folder_path in image_folders.items():
Expand All @@ -53,14 +53,14 @@

# Create link if it doesn't exist
if not os.path.exists(target_path):
try:
if os.name == 'nt': # Windows
os.system(f'mklink /J "{target_path}" "{folder_path}"')
else: # Unix-like
os.symlink(folder_path, target_path)
print(f"Successfully created link from {folder_path} to {target_path}")
except OSError as e:
print(f"Failed to create link: {e}")
# try:
if os.name == 'nt': # Windows
os.system(f'mklink /J "{target_path}" "{folder_path}"')
else: # Unix-like
os.symlink(folder_path, target_path)
#print(f"Successfully created link from {folder_path} to {target_path}")
# except OSError as e:
# print(f"Failed to create link: {e}")

# Prepare Loras
# lora_images_path = os.path.join(custom_nodes_dir, "ComfyUI", "custom_nodes", "Bjornulf_custom_nodes", "civitai", "lora_images")
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "bjornulf_custom_nodes"
description = "133 ComfyUI nodes : Display, manipulate, and edit text, images, videos, loras, generate characters and more. Manage looping operations, generate randomized content, use logical conditions and work with external AI tools, like Ollama or Text To Speech Kokoro, etc..."
version = "0.71"
version = "0.72"
license = {file = "LICENSE"}

[project.urls]
Expand Down

0 comments on commit 48570fd

Please sign in to comment.