mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
docs(mm): update ModelSearch
This commit is contained in:
parent
3cf196dbb0
commit
2f6cce48af
@ -48,9 +48,8 @@ class ModelSearch:
|
|||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
search = ModelSearch()
|
search = ModelSearch()
|
||||||
search.model_found = lambda path : 'anime' in path.as_posix()
|
search.on_model_found = lambda path : 'anime' in path.as_posix()
|
||||||
found = search.list_models(['/tmp/models1','/tmp/models2'])
|
found = search.search(Path('/tmp/models1'))
|
||||||
# returns all models that have 'anime' in the path
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
|
Loading…
Reference in New Issue
Block a user