1
2
3
4
5
6
7
8
9
10
11
import { getWebLoaderBuilder } from "https://esm.town/v/webup/getWebLoaderBuilder";
export const loaderSampleAudio = (async () => {
const builder = await getWebLoaderBuilder(
"https://storage.googleapis.com/aai-docs-samples/sports_injuries.mp3",
"audio",
{ language_code: "en_us" },
);
const loader = await builder();
return await loader.load();
})();
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
October 23, 2023