fix(speech): download verified model artifacts directly (#10735)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user