Skip to content

Commit bafe920

Browse files
committed
fix example
1 parent fb5e6bd commit bafe920

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/speech-to-text/speech-to-text.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function App() {
8989
<Button
9090
onPress=(async () => {
9191
// Alternatively, you can obtain audio from any other source and pass it to transcribe()
92-
model.loadAudio(audioUrl);
92+
await model.loadAudio(audioUrl);
9393
await model.transcribe();
9494
})
9595
/>

0 commit comments

Comments
 (0)