Skip to content

Commit

Permalink
Merge pull request #12387 from huaizong/feature/whz/fix-api-only-mode…
Browse files Browse the repository at this point in the history
…-lora-nowork

Feature/whz/fix api only mode lora nowork
  • Loading branch information
AUTOMATIC1111 authored Aug 7, 2023
2 parents fd67eaf + 250a95b commit 9123561
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webui.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ def api_only():
setup_middleware(app)
api = create_api(app)

modules.script_callbacks.before_ui_callback()
modules.script_callbacks.app_started_callback(None, app)

print(f"Startup time: {startup_timer.summary()}.")
Expand Down

0 comments on commit 9123561

Please sign in to comment.