فهرست منبع

Fix encoding in python scripts (#7733)

Galunid 1 سال پیش
والد
کامیت
7672adeec7
2فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  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