mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-22 00:03:20 +01:00
f
This commit is contained in:
parent
3f278cf2ad
commit
f9f9aba92d
@ -104,7 +104,7 @@ def resolve_model_to_use(model_name: Union[str, list] = None, model_type: str =
|
|||||||
for m in model_names:
|
for m in model_names:
|
||||||
if model_type == "embeddings":
|
if model_type == "embeddings":
|
||||||
try:
|
try:
|
||||||
resolve_model_to_use_single(m, model_type, fail_if_not_found)
|
resolve_model_to_use_single(m, model_type)
|
||||||
except FileNotFoundError: # try with spaces
|
except FileNotFoundError: # try with spaces
|
||||||
m = m.replace("_", " ")
|
m = m.replace("_", " ")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user