An extension that will make your life as an extension developer this much easier > ----- <
FPreloader will HARD reload all your other extensions. It's like that one ring that rules the other rings, or something on that note. For developers and other strange people.
for Python > 3.4
How it works:
cd PATH_TO_text-generation-webui/extensions
then clone this repo
git clone https://github.com/FartyPants/FPreloader
Start ooba and in Interface enable FPReloader
Apply and restart interface, now you should see tab FPReloader
Anytime you press the big red button, your extensions will be reloaded (AKA if you made changes to your script.py file, the changes should be reloaded) then Gradio will be restarted ... or you can do it in two steps: Reload Extensions, then Restart Gradio (depending on the size of the extension there needs to be a slight time for python to recompile your modified version, the red button assumes 2.5 sec is enough as default)
Use the Deep Reload for reloading all nested imports within the extensions (for example in superbooga chromadb or download_urls will reload as well before the script itself)
allows you to see attributes etc...
Attribute watch - type attribute of currently viewed module you want to see, instead of all. Comma delimited
Dictionaries - you can type the exact dictionary key (you don't need to use ' or " for keys)
The monitor doesn't update by itself, when the value change you need to press refresh.
Task Module View Attribute Watch
_____________________________________________________________________
Get python version sys version, _base_executable
Arguments sys argv
Detour sorting of LORA and Models so the dropdown displays the recently added models/lora first Detour allowing LORA to display and use checkpoints in the LORA menu
If nothing of this makes any sense then you are in the wrong repo.