Fix linting
This commit is contained in:
parent
f76cf98dbd
commit
8d6960f280
2 changed files with 5 additions and 3 deletions
|
|
@ -517,6 +517,7 @@ def check_and_install_dependencies():
|
||||||
pm.install(package)
|
pm.install(package)
|
||||||
print(f"{package} installed successfully")
|
print(f"{package} installed successfully")
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
# Check if running under Gunicorn
|
# Check if running under Gunicorn
|
||||||
if "GUNICORN_CMD_ARGS" in os.environ:
|
if "GUNICORN_CMD_ARGS" in os.environ:
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@ import pipmaster as pm
|
||||||
from lightrag.api.utils_api import parse_args, display_splash_screen
|
from lightrag.api.utils_api import parse_args, display_splash_screen
|
||||||
from lightrag.kg.shared_storage import initialize_share_data, finalize_share_data
|
from lightrag.kg.shared_storage import initialize_share_data, finalize_share_data
|
||||||
|
|
||||||
|
|
||||||
def check_and_install_dependencies():
|
def check_and_install_dependencies():
|
||||||
"""Check and install required dependencies"""
|
"""Check and install required dependencies"""
|
||||||
required_packages = [
|
required_packages = [
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue