8000 Removes commented out code snippet and adds note on async local file … · danaharon/java-docs-samples@74b17b8 · GitHub
[go: up one dir, main page]

Skip to content < 65EB link crossorigin="anonymous" media="all" rel="stylesheet" href="https://github.githubassets.com/assets/keyboard-shortcuts-dialog.f8fba3bd67fe74f9227b.module.css" />

Commit 74b17b8

Browse files
committed
Removes commented out code snippet and adds note on async local file limit.
1 parent 8609ba6 commit 74b17b8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

speech/cloud-client/src/main/java/com/example/speech/Recognize.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ public static void main(String... args) throws Exception {
7171
}
7272
} else if (command.equals("streamrecognize")) {
7373
streamingRecognizeFile(path);
74-
//streamingRecognizeEasy(path);
7574
}
7675

7776
}
@@ -146,7 +145,7 @@ public static void syncRecognizeGcs(String gcsUri) throws Exception, IOException
146145
/*
147146
/**
148147
* Performs non-blocking speech recognition on raw PCM audio and prints
149-
* the transcription.
148+
* the transcription. Note that transcription is limited to 60 seconds audio.
150149
*
151150
* @param fileName the path to a PCM audio file to transcribe.
152151
*/

0 commit comments

Comments
 (0)
0