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:
commit
912356133a
1
webui.py
1
webui.py
|
@ -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()}.")
|
||||||
|
|
Loading…
Reference in New Issue