Merge branch 'beta' of github.com:cmdr2/stable-diffusion-ui into beta

This commit is contained in:
cmdr2 2023-07-22 15:10:44 +05:30
commit c71d7ea14f

View File

@ -222,7 +222,7 @@ def get_printable_request(req: GenerateImageRequest, task_data: TaskData):
metadata[key] = req_metadata[key] metadata[key] = req_metadata[key]
elif key in task_data_metadata: elif key in task_data_metadata:
metadata[key] = task_data_metadata[key] metadata[key] = task_data_metadata[key]
elif key is "use_embedding_models" and using_diffusers: elif key == "use_embedding_models" and using_diffusers:
embeddings_extensions = {".pt", ".bin", ".safetensors"} embeddings_extensions = {".pt", ".bin", ".safetensors"}
def scan_directory(directory_path: str): def scan_directory(directory_path: str):
used_embeddings = [] used_embeddings = []