InvokeAI/invokeai/app/services/model_install
psychedelicious 9376b13435 fix(mm): models lose file extension when syncing
We were stripping the file extension from file models when  moving them in `_sync_model_path`. For example, `some_model.safetensors` would be moved to `some_model`, which of course breaks things.

Instead of using the model's name as the new path, use the model's path's last segment. This is the same behaviour for directories, but for files, it retains the file extension.
2024-03-10 13:36:09 +11:00
..
__init__.py Remove civit AI model install resources 2024-03-08 13:59:59 +11:00
model_install_base.py Run ruff 2024-03-08 13:59:59 +11:00
model_install_default.py fix(mm): models lose file extension when syncing 2024-03-10 13:36:09 +11:00