- Introduced `handle_websocket_failure()` to consolidate error handling and messaging.
- Removed redundant `websocket_status` checks in the server initialization function.
- Enhanced the `send_command_to_frontend()` function to handle potential WebSocket failures.
- Ensured error messages related to WebSocket failures are displayed only once.
This commit introduces a fallback mechanism for the package installation process.
- If the `python_embedded` directory is not found, the installation defaults to the current Python environment.
- This ensures that packages are installed successfully regardless of the setup, enhancing compatibility across different machines.
Auto required package isntaller package now uses the "requirements.txt" folder as reference for what packages to install.
Packages are also now installed straight to the ComfyUI's python embedded site-packages folder via relative pathing.
Updated messages to be cleaner on console aswell.