mirror of
https://github.com/justUmen/Bjornulf_custom_nodes.git
synced 2026-03-21 12:42:11 -03:00
0.72
This commit is contained in:
@@ -41,8 +41,8 @@ image_folders = {
|
||||
"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():
|
||||
@@ -53,14 +53,14 @@ for folder_name, folder_path in image_folders.items():
|
||||
|
||||
# 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")
|
||||
|
||||
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user