commit
9cf85b19f8
|
|
@ -18,8 +18,8 @@ import os
|
|||
|
||||
|
||||
def get_models():
|
||||
models = glob.glob(models_path)
|
||||
models_path = os.path.join(scripts.basedir(), "models/roop/*")
|
||||
models = glob.glob(models_path)
|
||||
models += glob.glob(models_path)
|
||||
models = [x for x in models if x.endswith(".onnx") or x.endswith(".pth")]
|
||||
return models
|
||||
|
|
|
|||
Loading…
Reference in New Issue