Przeglądaj źródła

Fix encoding in python scripts (#7733)

Galunid 1 rok temu
rodzic
commit
7672adeec7
2 zmienionych plików z 2 dodań i 0 usunięć
  1. 1 0
      convert-hf-to-gguf-update.py
  2. 1 0
      convert-hf-to-gguf.py

+ 1 - 0
convert-hf-to-gguf-update.py

@@ -1,4 +1,5 @@
 #!/usr/bin/env python3
+# -*- coding: utf-8 -*-
 
 # This script downloads the tokenizer models of the specified models from Huggingface and
 # generates the get_vocab_base_pre() function for convert-hf-to-gguf.py

+ 1 - 0
convert-hf-to-gguf.py

@@ -1,4 +1,5 @@
 #!/usr/bin/env python3
+# -*- coding: utf-8 -*-
 
 from __future__ import annotations