Attempt to add support for Forge.
- added forge lora extension import
- changed embeddings to load without sd_hijack
Tested as working in A1111 UI, untested in Forge UI
- updated code to work with newer version of a1111 for removing subdir buttons that start with "_"
- added requirement for lxml_html_clean after it was seperated from the main lxml project. It will now install the package for you.
- adjust the position of the zero width space within the model preview tab string to hopefully mitigate compatibility issues with certain UI extensions.
- updated descriptions from civitai info
- add caching for images from civitai info
- add code to hide subfolders from extra networks subfolder list if it starts with an underscore
- added 'column view' for people with .txt files that want them beside the preview images. Closes#38
- fixed display but with 'limit hight' option
- removed deprecated js code
- added detailed instructions on settings page
Should solve #36
- added fallback solution for finding the model preview tab if the label was changed by a translation extension
- fixed issue with clean_modelname function that was erroneously converting things to lowercase if a period was in the model name leading to it not being able to find any preview files
- fixed UI issues with new gradio update (#32)
- fixed null issue after gradio update (#33)
- added the "limit height" setting back because the updated gradio drop downs no longer get cut off
- add backwards compat support for LyCORIS models previews in a separate folder.
- Move the link from the Extra Network cards to the Model Preview from to the button row of the card. (IE at the top or the card)
- added checks to make sure default directories exist before trying to access them
- added code to force Embeddings to be loaded if the extension is loaded before embeddings
xd v1.1.12
- Adds a new preview file type: `*.prompt` that displays a copyable list of prompts associated with the model at the top of the preview list.
- updated to support the new gradio version
- removed the option to limit hight of preview, the new gradio dropdowns were getting cut off when you have a lot of items in them
Recheck `is_in_a1111_dir` for each image, rather than only once for the whole model directory.
Fixes loading images when symlinks are used further down in the directory.
Fixed#10 - a bug that prevented the extention working with LoRA models
if you had the third party Additional Networks extension installed.
If you weren't experiencing issues with your LoRA previews you will need
to also update your Additional Network extension after updating
If you were not using the Additional Networks extension
this should not affect you.
Add natural sort to loose naming and folder matching methods. Closes#9
Explicitly mark start/end of regex string patterns
This avoids unintended matching when using loose naming/folder matching
Adds folder matching mode (closes#4)
- requires people who set Strict naming to update their settings again
Adds numerical sorting to strict naming (closes#5)