Enhance migration and download processes: add backend path update and prevent duplicate completion toasts

This commit is contained in:
Will Miao
2025-06-07 11:29:53 +08:00
parent b1015ecdc5
commit c96550cc68
2 changed files with 25 additions and 3 deletions

View File

@@ -1158,8 +1158,6 @@ class MiscRoutes:
"""
matching_files = []
model_name = os.path.splitext(model_filename)[0]
if model_name == "FluxMechaKnights":
logger.info(f"Processing model: {model_name}")
# Check if pattern contains a directory separator
has_subdirs = '/' in regex_pattern.pattern or '\\\\' in regex_pattern.pattern