add wuerstchen model

This commit is contained in:
Vladimir Mandic
2023-09-14 11:51:09 -04:00
parent 484dae8dbd
commit fc75b5ec41
7 changed files with 34 additions and 18 deletions
+1 -1
View File
@@ -213,7 +213,7 @@ def load_diffusers_models(model_path: str, command_path: str = None):
mtime = os.path.getmtime(folder)
info = os.path.join(folder, "model_info.json")
diffuser_repos.append({ 'name': name, 'filename': name, 'path': folder, 'hash': commit, 'mtime': mtime, 'model_info': info })
if os.path.exists(os.path.join(place, folder, 'snapshots', commit, "hidden")):
if os.path.exists(os.path.join(folder, 'hidden')):
continue
output.append(name)
except Exception as e: