From d7062277a717f876247bc802e65b033a9e88880f Mon Sep 17 00:00:00 2001 From: pythongosssss <125205205+pythongosssss@users.noreply.github.com> Date: Sun, 3 Aug 2025 16:40:27 +0100 Subject: [PATCH] fix bad merge --- main.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/main.py b/main.py index 3b97d48b3..81001c0b5 100644 --- a/main.py +++ b/main.py @@ -286,15 +286,6 @@ def setup_database(): except Exception as e: logging.error(f"Failed to initialize database. Please ensure you have installed the latest requirements. If the error persists, please report this as in future the database will be required: {e}") -def setup_database(): - try: - from app.database.db import init_db, dependencies_available - if dependencies_available(): - init_db() - except Exception as e: - logging.error(f"Failed to initialize database. Please ensure you have installed the latest requirements. If the error persists, please report this as in future the database will be required: {e}") - - def start_comfyui(asyncio_loop=None): """ Starts the ComfyUI server using the provided asyncio event loop or creates a new one.