Update run_with_gunicorn.py

This commit is contained in:
Saifeddine ALOUI 2025-03-03 12:23:47 +01:00 committed by GitHub
parent 52bedc9118
commit 7b3e394730
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,6 +12,7 @@ from lightrag.kg.shared_storage import initialize_share_data, finalize_share_dat
from dotenv import load_dotenv
# Updated to use the .env that is inside the current folder
# This update allows the user to put a different.env file for each lightrag folder
load_dotenv(".env")
def check_and_install_dependencies():