Compare commits

...
Author SHA1 Message Date
Dijkstra 2e889c7018 chore: detail the difference between tags and trigger words 2025-07-26 17:46:52 +02:00
Dijkstra 52157dff5a Merge pull request #39 from idrirap/dev/issue38
fix: no longer crash when internet is unavailable
2025-01-16 09:38:20 +01:00
Dijkstra 8c18075e9f chore: update node version 2025-01-16 09:37:53 +01:00
Dijkstra e0ec5dee30 fix: no longer crash when internet is unavailable 2025-01-16 09:35:17 +01:00
Dijkstra c09e56b21f Merge pull request #36 from idrirap/dev/issue33
Dev/issue33
2024-10-31 19:53:14 +01:00
3 changed files with 10 additions and 4 deletions
+4 -1
View File
@@ -1,7 +1,10 @@
# ComfyUI-Lora-Auto-Trigger-Words
This project is a fork of https://github.com/Extraltodeus/LoadLoraWithTags
The aim of these custom nodes is to get an _easy_ access to the tags used to trigger a lora.
The aim of these custom nodes is to get an _easy_ access to the **trigger words** (or **tags**) used to trigger a lora.
*Note that trigger words and tags are used interchangeably in this readme and means the same thing.*
This project is compatible with Stacked Loras from https://github.com/jags111/efficiency-nodes-comfyui
When I talk about **lora**, I also mean **lycoris** too.
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "comfyui-lora-auto-trigger-words"
description = "The aim of these custom nodes is to get an easy access to the tags used to trigger a lora / lycoris. Extract the tags from civitai or from the safetensors metadatas when available."
version = "1.0.3"
version = "1.0.4"
license = "MIT"
[project.urls]
+5 -2
View File
@@ -83,8 +83,11 @@ def save_dict_to_json(data_dict, file_path):
def get_model_version_info(hash_value):
api_url = f"https://civitai.com/api/v1/model-versions/by-hash/{hash_value}"
response = requests.get(api_url)
try:
response = requests.get(api_url)
except Exception as e:
print(f"[Lora-Auto-Trigger] {e}")
return None
if response.status_code == 200:
return response.json()
else: