Skip to content

Update ./models/download-ggml-model.cmd to allow for tdrz download #3381

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

GalFawkes
Copy link

Added a couple of lines to validate whether tdrz is in the argument much like the shell version of this script. Uses findstr (built into cmd.exe) as the grep alternative and %ERRORLEVEL% to validate as in the next step., which resolves error checking correctly as well.

I think this introduces an echo of the downloaded model's name in the output, but that's a single line & negligible.

Copy link
Member

@danbev danbev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tried this locally and it works, I can download small.en-tdrz 👍

Just one note about a closing double quote which seems to work fine but might be good to add just the same.

Add missing closing double quote.
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.

2 participants