Add support for sqlite database (#8444)

* Add support for sqlite database

* fix
This commit is contained in:
pythongosssss
2025-06-11 21:43:39 +01:00
committed by GitHub
parent 9685d4f3c3
commit 50c605e957
11 changed files with 345 additions and 13 deletions

18
utils/install_util.py Normal file
View File

@@ -0,0 +1,18 @@
from pathlib import Path
import sys
# The path to the requirements.txt file
requirements_path = Path(__file__).parents[1] / "requirements.txt"
def get_missing_requirements_message():
"""The warning message to display when a package is missing."""
extra = ""
if sys.flags.no_user_site:
extra = "-s "
return f"""
Please install the updated requirements.txt file by running:
{sys.executable} {extra}-m pip install -r {requirements_path}
If you are on the portable package you can run: update\\update_comfyui.bat to solve this problem.
""".strip()