Skip to content

Commit b93b466

Browse files
committed
chore: Add general bash shebang to generated shell script
Signed-off-by: teleprint-me <[email protected]>
1 parent 771fffe commit b93b466

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

convert-hf-to-gguf-update.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def download_file_with_auth(url, token, save_path):
277277
# generate commands for creating vocab files
278278
print() # pad output
279279

280-
shscript = ""
280+
shscript = "#!/usr/bin/env bash\n\n"
281281
for model in models:
282282
name = model["name"]
283283
tmpline = f"python3 convert-hf-to-gguf.py models/tokenizers/{name}/ --outfile models/ggml-vocab-{name}.gguf --vocab-only\n"

0 commit comments

Comments
 (0)