Merge pull request #12387 from huaizong/feature/whz/fix-api-only-mode-lora-nowork

Feature/whz/fix api only mode lora nowork
This commit is contained in:
AUTOMATIC1111 2023-08-07 13:36:26 +03:00 committed by GitHub
commit 912356133a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -341,6 +341,7 @@ def api_only():
setup_middleware(app) setup_middleware(app)
api = create_api(app) api = create_api(app)
modules.script_callbacks.before_ui_callback()
modules.script_callbacks.app_started_callback(None, app) modules.script_callbacks.app_started_callback(None, app)
print(f"Startup time: {startup_timer.summary()}.") print(f"Startup time: {startup_timer.summary()}.")