fix(speech): download verified model artifacts directly (#10735)

This commit is contained in:
Neil
2026-07-26 13:14:57 -07:00
committed by GitHub
parent ab1c37889a
commit c30a0ea685
11 changed files with 548 additions and 492 deletions
+8 -3
View File
@@ -9,6 +9,13 @@ export type SpeechModelProvider = 'local' | 'openai'
export type ModelingUnit = 'bpe' | 'cjkchar' | 'cjkchar+bpe'
export type SpeechModelDownloadFile = {
name: string
url: string
sizeBytes: number
sha256: string
}
export type SpeechModelManifest = {
id: string
label: string
@@ -17,9 +24,7 @@ export type SpeechModelManifest = {
provider: SpeechModelProvider
language: string
sizeBytes?: number
downloadUrl?: string
archiveSha256?: string
archiveFormat?: 'tar.bz2'
downloadFiles?: SpeechModelDownloadFile[]
files?: string[]
sampleRate: number
streaming: boolean