Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
zhengr
/
ChatTTS2
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
c02bdcd
ChatTTS2
/
tools
/
normalizer
/
zh.py
zhengr
init
c02bdcd
7 months ago
raw
Copy download link
history
blame
Safe
162 Bytes
from
typing
import
Callable
def
normalizer_zh_tn
() ->
Callable
[[
str
],
str
]:
from
tn.chinese.normalizer
import
Normalizer
return
Normalizer().normalize