Open corbin-hayden13 opened 5 months ago
Among getting tags from civitai, this pr implements a test file management interface a critically moves all constants to the “globals.py” file to avoid future circular imports and define a standard for where these globally used constants should be defined.
Caught another issue after requesting those changes.
Any file paths that include dots in the file name (e.g. sd_xl_offset_example-lora_1.0.safetensors
) will result in your code not recognizing it as a file.
SD Lora Tagger: No such file F:\AI\Models\LoRAs\XL\L_XL_sd_xl_offset_example-lora_1.0.safetensors
SD Lora Tagger: No such file F:\AI\Models\LoRAs\XL\sd_xl_offset_example-lora_1.0.safetensors
Yeah, that due to the use of splitext(), i can make a quick function to trim the last period not the first
I'm still working on getting the row tags to match what's in the tag files because the tag files are having the filename + extension written to them as the initial tag while they should only have the file name (and no extension) but the rows only have the file name (no extension) so I need to investigate why this is occurring because wile there's a mismatch you cannot search by tag
Creates framework for querying tags from civitai to append to tag files.