Deduplicate webui.py initial-load/reload code

This commit is contained in:
Aarni Koskela
2023-05-19 16:08:40 +03:00
parent 0f28aee9cd
commit 71f4a4afdf
2 changed files with 34 additions and 51 deletions

View File

@@ -98,7 +98,6 @@ def setup_model():
if not os.path.exists(model_path):
os.makedirs(model_path)
list_models()
enable_midas_autodownload()