diff --git a/py/routes/update_routes.py b/py/routes/update_routes.py index 365b5641..9be3cf1b 100644 --- a/py/routes/update_routes.py +++ b/py/routes/update_routes.py @@ -205,8 +205,8 @@ class UpdateRoutes: zip_path = tmp_zip_path - # Skip both settings.json and civitai folder - UpdateRoutes._clean_plugin_folder(plugin_root, skip_files=['settings.json', 'civitai']) + # Skip both settings.json, civitai and model cache folder + UpdateRoutes._clean_plugin_folder(plugin_root, skip_files=['settings.json', 'civitai', 'model_cache']) # Extract ZIP to temp dir with tempfile.TemporaryDirectory() as tmp_dir: