Expand description
The [tts] section: what the speaking role runs, the Hugging Face
install that supplies it, and the read the models page and the settings
card draw.
Re-exportsยง
use std::path::PathBuf;๐use forge_dictate::ModelFacts;๐use forge_dictate::ModelSpec;๐use serde::Deserialize;๐use serde::Deserialize;๐use crate::dictate::DictateModel;๐use crate::dictate::DictateModelState;๐use crate::dictate::DictateRole;๐
Structsยง
- Speaking
Install - What one installed variant is made of, as the install recorded it.
- Speaking
Variant - One ONNX variant of the model the Hub publishes.
- Speaking
Variant View - One variant the page draws: whether it is installed, and whether it runs.
- TtsSettings
- Deliberately narrower than a model spec, for the same reason
crate::dictate::DictateSettingsis: a hand-edited URL, byte length or digest is how a file arrives that nothing can verify. - TtsSnapshot
- The speaking roleโs model rows.
- TtsView
- The voice read: whether
[tts]is on, where the files land, the speaking modelโs state, and the voices that model installed. - Voice
File - One style file the install fetched.
Enumsยง
- Speaking
From - Where the active speaking model came from. A bare name on the wire: the
speaking read has one
from, and a tag object would nest it.
Constantsยง
- HUB_
REPO - The Hub repository publishing the ONNX export and the style files the engine loads.
- PINNED_
VARIANT - The variant the role runs when nothing chooses another: the int8 export.
- SPEAKING_
MODEL - The speaking modelโs own name.
[tts] speaking_modelaccepts this, or one ofVARIANTSโ names to pin a quantisation. - VARIANTS
- The variants the speaking role can run, the int8 model the benchmark measured among them.