mirror of
https://github.com/lllyasviel/stable-diffusion-webui-forge.git
synced 2026-02-03 06:47:23 +00:00
Merge pull request #11718 from tangjicheng46/master
fix: add queue lock for refresh-checkpoints
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user