mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-12-03 07:00:47 +08:00
add queue lock for refresh-checkpoints
This commit is contained in:
parent
394ffa7b0a
commit
089a0022ae
@ -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…
Reference in New Issue
Block a user