From 1ac3359e2056baa29ed8077df3a7ee26a058ba7a Mon Sep 17 00:00:00 2001 From: awsr <43862868+awsr@users.noreply.github.com> Date: Wed, 25 Mar 2026 16:54:40 -0700 Subject: [PATCH] Update sd_checkpoint.py --- modules/sd_checkpoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/sd_checkpoint.py b/modules/sd_checkpoint.py index c861fcf12..f16909b52 100644 --- a/modules/sd_checkpoint.py +++ b/modules/sd_checkpoint.py @@ -160,7 +160,7 @@ def list_models(): checkpoints_list = dict(sorted(checkpoints_list.items(), key=lambda cp: cp[1].filename)) -def update_model_hashes(model_list: dict = None, model_type: str = 'checkpoint'): +def update_model_hashes(model_list: dict | None = None, model_type: str = 'checkpoint'): def update_model_hashes_table(rows): html = """