Merge pull request #11718 from tangjicheng46/master

fix: add queue lock for refresh-checkpoints
This commit is contained in:
AUTOMATIC1111
2023-07-10 20:40:58 +03:00
committed by GitHub

View File

@@ -593,6 +593,7 @@ class Api:
}
def refresh_checkpoints(self):
with self.queue_lock:
shared.refresh_checkpoints()
def create_embedding(self, args: dict):