update vc/tts code

This commit is contained in:
lyuxiang.lx
2024-09-26 11:53:10 +08:00
parent 49015f63e6
commit 72b89a52fb
5 changed files with 74 additions and 21 deletions

View File

@@ -1,9 +1,7 @@
import base64
import os
import string
from dataclasses import dataclass, field
from functools import cached_property, lru_cache
from typing import Dict, List, Optional, Tuple
from functools import lru_cache
from typing import Optional
from whisper.tokenizer import Tokenizer
import tiktoken