File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ export default {
2424
2525 const mp3 = await fetch(URL);
2626 if (!mp3.ok) {
27- throw new Error('Response status from mp3');
27+ throw new Error('Response error from mp3');
2828 }
2929 const mp3Buffer = await mp3.arrayBuffer();
3030 const base64 = Buffer.from(mp3Buffer, 'binary').toString("base64");
Original file line number Diff line number Diff line change @@ -89,8 +89,8 @@ if (model.name === "@cf/black-forest-labs/flux-1-schnell") {
8989 CodeExamples = Flux1Schnell ;
9090}
9191
92- if (model .name === " @cf/black-forest-labs/flux-1-schnell " ) {
93- CodeExamples = Flux1Schnell ;
92+ if (model .name === " @cf/openai/whisper-large-v3-turbo " ) {
93+ CodeExamples = WhisperBase64Code ;
9494}
9595
9696const description = model .description ;
You can’t perform that action at this time.
0 commit comments