A simple program to organize LoRAs for Stable Diffusion
-
For Python run this command (in the directory of the python file)
python LoRA_Organization_Program.py
-
You can also just use the .exe (just click it it will ask you the path and it just does evrything be its own)
If you need to modify the code for any reason feel free to do so (obvisouly you modify the python file).
-
Then you need pyinstaller If you dont have it run this command
pip install pyinstaller
Then run this commandpyinstaller LoRA_Organization_Program.py --onefile
-
If for some reason that doesnt work you can also use this (modify to your pc)
Start-Process -NoNewWindow -FilePath "PATH_TO_PYTHON_APPDATA_FOLDER/LocalCache\local-packages\Python310(OR your python version)\Scripts\pyinstaller.exe" -ArgumentList "--onefile", "LoRA_Organization_Program.py"
Basically you need the path to pyinstaller.exe
Or you can find first the Sricpts folder (PATH_TO_PYTHON_APPDATA_FOLDER/LocalCache\local-packages\Python310(OR your python version)\Scripts) and add it to PATH
If you don't know how to do:
- Open
Edit the system enviromment varilables
- Click
Environmment Variables...
- On
System variable
findPath
click it and selectEdit...
- Click
New
and add the folder path of Scripts