Repair detail (#1411)

* Load lang module on demand

* Turn off onnx warning
This commit is contained in:
KamioRinn
2024-08-06 18:26:58 +08:00
committed by GitHub
parent bb224a73c8
commit 2196b2bfc6
2 changed files with 10 additions and 10 deletions

View File

@@ -4,8 +4,10 @@ import librosa
import torch
import torch.nn.functional as F
import soundfile as sf
import logging
from transformers import logging as tf_logging
tf_logging.set_verbosity_error()
import logging
logging.getLogger("numba").setLevel(logging.WARNING)
from transformers import (