mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-01-29 01:28:40 +01:00
Add "Start scanning..." to getModels()
Provide a hint to users what ED is currently using. Use case: User has built an infinite loop using symlinks, ED model scan will never finish. https://discord.com/channels/1014774730907209781/1097764777553580092
This commit is contained in:
parent
16229caa8e
commit
893b6d985c
@ -245,6 +245,7 @@ def getModels():
|
|||||||
except MaliciousModelException as e:
|
except MaliciousModelException as e:
|
||||||
models["scan-error"] = e
|
models["scan-error"] = e
|
||||||
|
|
||||||
|
log.info(f"[green]Scanning all model folders for models...[/]")
|
||||||
# custom models
|
# custom models
|
||||||
listModels(model_type="stable-diffusion")
|
listModels(model_type="stable-diffusion")
|
||||||
listModels(model_type="vae")
|
listModels(model_type="vae")
|
||||||
|
Loading…
Reference in New Issue
Block a user