Update run_with_gunicorn.py
This commit is contained in:
@@ -11,10 +11,8 @@ 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
|
||||||
from dotenv import load_dotenv
|
from dotenv import load_dotenv
|
||||||
|
|
||||||
# Load environment variables from .env file
|
# Updated to use the .env that is inside the current folder
|
||||||
print(f"Current folder: {os.getcwd()}")
|
|
||||||
load_dotenv(".env")
|
load_dotenv(".env")
|
||||||
print(f"Check: {os.getenv('LLM_MODEL')}")
|
|
||||||
|
|
||||||
def check_and_install_dependencies():
|
def check_and_install_dependencies():
|
||||||
"""Check and install required dependencies"""
|
"""Check and install required dependencies"""
|
||||||
|
Reference in New Issue
Block a user