diff --git a/install.py b/install.py index c483997..ebeaf76 100644 --- a/install.py +++ b/install.py @@ -1,6 +1,9 @@ #launch script for stable-diffusion -import launch +try: + import launch -package = 'python-socketio' -if not launch.is_installed(package): - launch.run_pip(f"install {package}", f"sd-ppp requirement: {package}") \ No newline at end of file + package = 'python-socketio' + if not launch.is_installed(package): + launch.run_pip(f"install {package}", f"sd-ppp requirement: {package}") +except ImportError: + pass \ No newline at end of file