mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-24 10:51:03 -08:00
Merge pull request #11718 from tangjicheng46/master
fix: add queue lock for refresh-checkpoints
This commit is contained in:
commit
8d0078b6ef
1 changed files with 2 additions and 1 deletions
|
|
@ -593,7 +593,8 @@ class Api:
|
|||
}
|
||||
|
||||
def refresh_checkpoints(self):
|
||||
shared.refresh_checkpoints()
|
||||
with self.queue_lock:
|
||||
shared.refresh_checkpoints()
|
||||
|
||||
def create_embedding(self, args: dict):
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue