asagi4 / comfyui-prompt-control

ComfyUI nodes for prompt editing and LoRA control
GNU General Public License v3.0
191 stars 16 forks source link

If the Lora file name has . symbol, it will show that Lora was not found and Lora cannot be used. #31

Closed yeungmozhu closed 7 months ago

yeungmozhu commented 7 months ago

If the Lora file name has the . symbol, it will show Lora not found and cannot use Lora. For example, the "PAseerGoldenWindSD1.5-V1.safetensors" file, when I type , it will show PromptControl: Lora PAseerGoldenWindSD1.5-V1 not found. When I change "PAseerGoldenWindSD1.5-V1.safetensors" to "PAseerGoldenWindSD15-V1.safetensors" and type it works!

asagi4 commented 7 months ago

I think this happens because it detects the stuff after the first dot as an extension and ignores it.

I'll fix this later today.