mirror of
https://github.com/vladmandic/automatic
synced 2026-09-13 01:59:42 +02:00
better en preview matching and optimize caching
This commit is contained in:
@@ -286,11 +286,7 @@ def list_hypernetworks(path):
|
||||
hypernetworks = {
|
||||
os.path.splitext(os.path.basename(hypernetwork_path))[0]: hypernetwork_path
|
||||
for hypernetwork_path
|
||||
in files_cache.list_files(
|
||||
path,
|
||||
ext_filter=['.pt'],
|
||||
recursive=files_cache.not_hidden
|
||||
)
|
||||
in files_cache.list_files(path, ext_filter=['.pt'], recursive=files_cache.not_hidden)
|
||||
}
|
||||
return hypernetworks
|
||||
|
||||
|
||||
Reference in New Issue
Block a user