IOPaint/lama_cleaner/installer.py

13 lines
232 B
Python
Raw Normal View History

2023-03-29 16:05:34 +02:00
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")