Skip to content

add utils.resolve_model_path to resolve model path before trying to d…#161

Merged
absadiki merged 1 commit into
absadiki:mainfrom
scottmonster:feat-160
May 14, 2026
Merged

add utils.resolve_model_path to resolve model path before trying to d…#161
absadiki merged 1 commit into
absadiki:mainfrom
scottmonster:feat-160

Conversation

@scottmonster

Copy link
Copy Markdown
Contributor

Add resolve_model_path in utils.py to check if model_name already exist before trying to download it. This is for feature request: issue 160

@absadiki absadiki linked an issue May 14, 2026 that may be closed by this pull request
@absadiki

Copy link
Copy Markdown
Owner

Sounds good, thanks.
Checking whether the model already exists before attempting download_model() is cleaner and also enables custom/local model names that are not part of AVAILABLE_MODELS.
Thanks @scottmonster for the contribution.

@absadiki absadiki merged commit d08a075 into absadiki:main May 14, 2026
23 of 24 checks passed
@scottmonster scottmonster deleted the feat-160 branch May 15, 2026 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request - allow for custom named models in models_dir

2 participants