Download code/photontts/__init__.py from hello-test1/PhotonTTS: direct link, hf CLI and curl.
- Browser
- Download file 271 Bytes
-
https://huggingface.co/hello-test1/PhotonTTS/resolve/main/code/photontts/__init__.py
- Command line
-
hf download hf://hello-test1/PhotonTTS/code/photontts/__init__.py
-
curl -L -o __init__.py https://huggingface.co/hello-test1/PhotonTTS/resolve/main/code/photontts/__init__.py
271 Bytes
| """PhotonTTS: causal LM over continuous latents + distilled local flow head.""" | |
| __version__ = "0.0.1" | |
| SAMPLE_RATE = 24_000 | |
| HOP = 960 # 24 kHz / 960 = 25 Hz latent frames | |
| LATENT_DIM = 64 | |
| PATCH = 2 # 2 frames per backbone step -> 12.5 Hz | |
| FRAME_RATE = SAMPLE_RATE / HOP | |