mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
chore: format
This commit is contained in:
parent
3186aeac08
commit
b609b9d297
1 changed files with 6 additions and 1 deletions
|
|
@ -170,7 +170,12 @@ def install_frontmatter_requirements(requirements: str):
|
||||||
try:
|
try:
|
||||||
req_list = [req.strip() for req in requirements.split(",")]
|
req_list = [req.strip() for req in requirements.split(",")]
|
||||||
log.info(f"Installing requirements: {' '.join(req_list)}")
|
log.info(f"Installing requirements: {' '.join(req_list)}")
|
||||||
subprocess.check_call([sys.executable, "-m", "pip", "install"] + PIP_OPTIONS + req_list + PIP_PACKAGE_INDEX_OPTIONS)
|
subprocess.check_call(
|
||||||
|
[sys.executable, "-m", "pip", "install"]
|
||||||
|
+ PIP_OPTIONS
|
||||||
|
+ req_list
|
||||||
|
+ PIP_PACKAGE_INDEX_OPTIONS
|
||||||
|
)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
log.error(f"Error installing packages: {' '.join(req_list)}")
|
log.error(f"Error installing packages: {' '.join(req_list)}")
|
||||||
raise e
|
raise e
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue