Files
zombieyang-sd-ppp/install.py
T
2024-10-03 11:08:45 +08:00

13 lines
387 B
Python

#launch script for stable-diffusion
try:
import launch
package = 'python-socketio'
if not launch.is_installed(package):
launch.run_pip(f"install {package}", f"sd-ppp requirement: {package}")
package = 'jsonpatch'
if not launch.is_installed(package):
launch.run_pip(f"install {package}", f"sd-ppp requirement: {package}")
except ImportError:
pass