Add C++ and Python API for Kokoro 1.0 multilingual TTS model (#1795)
This commit is contained in:
@@ -71,7 +71,7 @@ def main():
|
||||
with open("voices.bin", "wb") as f:
|
||||
for _, speaker in id2speaker.items():
|
||||
m = torch.load(
|
||||
f"{speaker}.pt",
|
||||
f"voices/{speaker}.pt",
|
||||
weights_only=True,
|
||||
map_location="cpu",
|
||||
).numpy()
|
||||
|
||||
Reference in New Issue
Block a user