mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
11 lines
353 B
TypeScript
11 lines
353 B
TypeScript
import { listSherpaOnnxModels } from "../src/server/speech/providers/local/sherpa/model-catalog.js";
|
|
|
|
const models = listSherpaOnnxModels()
|
|
.slice()
|
|
.sort((a, b) => a.kind.localeCompare(b.kind) || a.id.localeCompare(b.id));
|
|
|
|
for (const m of models) {
|
|
// eslint-disable-next-line no-console
|
|
console.log(`${m.kind}\t${m.id}\t${m.description}`);
|
|
}
|