Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit 09a00ed

Browse files
committed
Undo change to App.java
1 parent 661e363 commit 09a00ed

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

sample-app/src/main/java/sample/App.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,12 @@ public final class App {
3131
public static void main(String... args) throws IOException, InterruptedException, ExecutionException {
3232
AssemblyAI client = AssemblyAI.builder()
3333
.apiKey(System.getenv("ASSEMBLYAI_API_KEY"))
34-
.environment(Environment.custom("http://localhost:10000"))
3534
.build();
3635

3736
Transcript transcript = client.transcripts().transcribe(
3837
"https://storage.googleapis.com/aai-docs-samples/nbc.mp3",
3938
TranscriptOptionalParams.builder()
4039
.sentimentAnalysis(true)
41-
.languageDetection(true)
42-
.audioEndAt(1000)
43-
.audioStartFrom(10)
44-
.autoChapters(true)
45-
.autoHighlights(Optional.of(true))
46-
.boostParam(TranscriptBoostParam.HIGH)
47-
.customSpelling(List.of(TranscriptCustomSpelling.builder()
48-
.to("NBC")
49-
.addFrom("nbc")
50-
.build()))
5140
.build()
5241
);
5342

0 commit comments

Comments
 (0)