For those who want a quicker way to use this instead of manually launching cmd and whatever each time, you can use a simple batch file.
Create a new text file (name it PickleScan or whatever, paste the following, save it, and change it to a .bat file.
Note: You MUST change the venv python path to YOUR venv python path.
@echo off
echo "Scanning...Please wait a moment..."
"F:\Whatever\Path\stable-diffusion-webui\venv\Scripts\Python.exe" pickle_scan.py models > scan_output.txt
type scan_output.txt
pause
Running the .bat will launch the scanner and display the results in the cmd window. It'll still save the output to "scan_output.txt"
Someone might be able to make this a bit more fancy and have picklescan be what you run first, have it check for new models (comparing it to the previous scan output), scan those, and if all good, launch webui-user.bat.
I could probably do this but I'm too lazy right now...
For those who want a quicker way to use this instead of manually launching cmd and whatever each time, you can use a simple batch file.
Create a new text file (name it PickleScan or whatever, paste the following, save it, and change it to a .bat file.
Note: You MUST change the venv python path to YOUR venv python path.
Running the .bat will launch the scanner and display the results in the cmd window. It'll still save the output to "scan_output.txt"
Someone might be able to make this a bit more fancy and have picklescan be what you run first, have it check for new models (comparing it to the previous scan output), scan those, and if all good, launch webui-user.bat.
I could probably do this but I'm too lazy right now...