updated VC_inference.py

This commit is contained in:
Plachta
2023-04-28 13:34:13 +08:00
parent f44da7617f
commit 3ae932ddaf
+7
View File
@@ -13,6 +13,13 @@ import webbrowser
from text import text_to_sequence, _clean_text
device = "cuda:0" if torch.cuda.is_available() else "cpu"
import logging
logging.getLogger("PIL").setLevel(logging.WARNING)
logging.getLogger("urllib3").setLevel(logging.WARNING)
logging.getLogger("markdown_it").setLevel(logging.WARNING)
logging.getLogger("httpx").setLevel(logging.WARNING)
logging.getLogger("asyncio").setLevel(logging.WARNING)
language_marks = {
"Japanese": "",
"日本語": "[JA]",