This commit is contained in:
XXXXRT666 2024-06-08 17:58:35 +01:00
parent 29b3950f39
commit 61a6dfeeed

View File

@ -17,7 +17,7 @@ logging.getLogger("charset_normalizer").setLevel(logging.ERROR)
logging.getLogger("torchaudio._extension").setLevel(logging.ERROR)
import pdb
import torch
import warnings
if os.path.exists("./gweight.txt"):
with open("./gweight.txt", 'r', encoding="utf-8") as file:
gweight_data = file.read()