import subprocess | |
import sys | |
def install(package): | |
subprocess.check_call([sys.executable, "-m", "pip", "install", package]) | |
def install_plugins_package(): | |
install("rembg") | |
install("realesrgan") | |
install("gfpgan") | |
import subprocess | |
import sys | |
def install(package): | |
subprocess.check_call([sys.executable, "-m", "pip", "install", package]) | |
def install_plugins_package(): | |
install("rembg") | |
install("realesrgan") | |
install("gfpgan") | |