Fix linting

This commit is contained in:
yangdx
2025-03-02 00:13:11 +08:00
parent f76cf98dbd
commit 8d6960f280
2 changed files with 5 additions and 3 deletions

View File

@@ -510,13 +510,14 @@ def check_and_install_dependencies():
"fastapi",
# Add other required packages here
]
for package in required_packages:
if not pm.is_installed(package):
print(f"Installing {package}...")
pm.install(package)
print(f"{package} installed successfully")
def main():
# Check if running under Gunicorn
if "GUNICORN_CMD_ARGS" in os.environ: