stable-diffusion-webui
stable-diffusion-webui copied to clipboard
Resolved initial setup issues.
Purpose: to resolve initial setup issues. Tested on Clean install of Python 3.8 and clean pull. Windows 10.0.19044.2130, NVIDIA A2000 12GB, Chrome
Notes: Even with debugging, the code still fails first run with "AttributeError: 'WindowsPath' object has no attribute 'rstrip'" error. However, everything works after re-running (first setup). This error needs further investigation (seems to be isolated to memory_monitor()). This will be the next thing to tackle, then change some structure, and then work on some basic UI.
Launch.py - Removed redundant code, cleaned up logic, fixed order-of-operation issues (was causing modules not to be found), and troubleshooting.
Requirements.txt - Eliminated the need for redundant "requirement_version.txt", which also saves initial load time.
Installing.py - Expanded try/except statement to catch possible AttributeError.