Files
bin/artifact_huggingface_download.sh
Sebastian Krüger 7a1e64862a fix: extract filename from source_pattern before calling find_model_files()
The source_pattern can include subdirectories (e.g., "unet/model.safetensors"),
but find_model_files() filters by filename only. Now we:

1. Extract just the filename using basename
2. Find files matching that filename
3. Filter results to match the full source_pattern path

This allows proper matching of files in subdirectories.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-25 20:01:10 +01:00

58 KiB
Executable File