MCPcopy
hub / github.com/1Panel-dev/MaxKB / playDemoText

Function playDemoText

ui/src/api/application/application.ts:340–352  ·  view source on GitHub ↗
(
  application_id,
  data,
  loading,
)

Source from the content-addressed store, hash-verified

338 * @returns
339 */
340const playDemoText: (application_id: string, data: any, loading?: Ref<boolean>) => Promise<any> = (
341 application_id,
342 data,
343 loading,
344) => {
345 return download(
346 `${prefix.value}/${application_id}/play_demo_text`,
347 'post',
348 data,
349 undefined,
350 loading,
351 )
352}
353
354/**
355 * 文本转语音

Callers

nothing calls this directly

Calls 1

downloadFunction · 0.90

Tested by

no test coverage detected