(path: &Path)
| 89 | |
| 90 | impl LuxTTSConfig { |
| 91 | pub fn from_path(path: &Path) -> Result<Self> { |
| 92 | let content = std::fs::read_to_string(path)?; |
| 93 | let config: Self = serde_json::from_str(&content)?; |
| 94 | Ok(config) |
| 95 | } |
| 96 | |
| 97 | /// Total number of FM decoder layers across all stacks. |
| 98 | pub fn total_fm_layers(&self) -> usize { |
nothing calls this directly
no outgoing calls
no test coverage detected