mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-08-05 20:56:38 +00:00
fix bad merge
This commit is contained in:
parent
54cf14cbbb
commit
d7062277a7
9
main.py
9
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user