old pull requests, error handling, requirements, some fixes
fix: failed to install onnxruntime package on MacOS thanks to heady713
fastapi: remote unload model, picked up from here
attribute error fix from aria1th also reported by yjunej
re-allowed weighted tags files, now configured in settings -> tagger.
wzgrx pointed out there were some modules not installed by default, so I've added a requirements.txt file that will auto-install required dependencies. However, the initial requirements.txt had issues. I ran to create the requirements.txt:
pipreqs --force `pwd`
sed -i s/==.*$//g requirements.txt
but it ended up adding external modules that were shadowing webui modules. If you installed those, you may find you are not even able to start the webui until you remove those modules again. Change to the directory of my extension and
pip uninstall webui
pip uninstall modules
pip uninstall launch
Unless you have particular reasons to keep any of those. In particular installing a module named modules was a serious problem. Python should flag that name as illegal.
There were some interrogators that were not working unless you have them installed manually. Now they are only listed if you have them.
Thanks to wzgrx for testing and reporting these last two issues.
changed internal file structure, thanks to idiotcomerce #4
more regex usage in search and exclusion tags
fixed a bug where some exclusion tags were not reflected in the tags file
changed internal error handling, It is a bit quirky, which I intend to fix, still.
If you find it keeps complaining about an input field without reason, just try editing that one again (e.g. add a space there and remove it).
This release contains commits for several pull requests that were on Toriato branch. I name people here, but github may not attribute your code changes properly. Let me know if this can be done better.