gguf-py : use snake_case in scripts entrypoint export

This commit is contained in:
Francis Couture-Harpin 2024-07-04 16:08:15 -04:00
parent 3e3cc7102f
commit 902de8826b
3 changed files with 6 additions and 15 deletions

View file

@ -97,7 +97,7 @@ check_requirements() {
}
check_convert_script() {
local py=$1 # e.g. convert_hf_to_gguf.py
local py=$1 # e.g. ./convert_hf_to_gguf.py
local pyname=${py##*/} # e.g. convert_hf_to_gguf.py
pyname=${pyname%.py} # e.g. convert_hf_to_gguf