fix onnxruntime bug on windows: DLL load failed while importing onnxruntime_pybind11_state
12 lines
224 B
Python
12 lines
224 B
Python
import subprocess
|
|
import sys
|
|
|
|
|
|
def install(package):
|
|
subprocess.check_call([sys.executable, "-m", "pip", "install", package])
|
|
|
|
|
|
def install_plugins_package():
|
|
install("onnxruntime<=1.19.2")
|
|
install("rembg[cpu]")
|