This repository was archived by the owner on Apr 1, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
sample-app/src/main/java/sample Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 6
6
[ ![ AssemblyAI Twitter] ( https://img.shields.io/twitter/follow/AssemblyAI?label=%40AssemblyAI&style=social )] ( https://twitter.com/AssemblyAI )
7
7
[ ![ AssemblyAI YouTube] ( https://img.shields.io/youtube/channel/subscribers/UCtatfZMf-8EkIwASXM4ts0A )] ( https://www.youtube.com/@AssemblyAI )
8
8
[ ![ Discord] ( https://img.shields.io/discord/875120158014853141?logo=discord&label=Discord&link=https%3A%2F%2Fdiscord.com%2Fchannels%2F875120158014853141&style=social )
9
- ] ( https://assemblyai.com /discord )
9
+ ] ( https://assembly.ai /discord )
10
10
11
11
## Documentation
12
12
@@ -83,7 +83,7 @@ import com.assemblyai.api.types.Transcript;
83
83
84
84
// Transcribe file at remote URL
85
85
Transcript transcript = aai. transcripts(). transcribe(
86
- " https://storage.googleapis.com/aai-web-samples/ espn-bears .m4a" );
86
+ " https://assembly.ai/ espn.m4a" );
87
87
88
88
// Upload a file via local path and transcribe
89
89
transcript = aai. transcripts(). transcribe(
@@ -98,7 +98,7 @@ import com.assemblyai.api.types.Transcript;
98
98
99
99
// Transcribe file at remote URL
100
100
Transcript transcript = aai. transcripts(). submit(
101
- " https://storage.googleapis.com/aai-web-samples/ espn-bears .m4a" );
101
+ " https://assembly.ai/ espn.m4a" );
102
102
103
103
// Upload a file via local path and transcribe
104
104
transcript = aai. transcripts(). submit(
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ public static void main(String... args) throws IOException, InterruptedException
32
32
.build ();
33
33
34
34
Transcript transcript = client .transcripts ().transcribe (
35
- "https://storage.googleapis.com/aai-docs-samples /nbc.mp3" ,
35
+ "https://assembly.ai /nbc.mp3" ,
36
36
TranscriptOptionalParams .builder ()
37
37
.sentimentAnalysis (true )
38
38
.build ()
@@ -132,7 +132,7 @@ public static void main(String... args) throws IOException, InterruptedException
132
132
System .out .println ("Uploaded file" + uploadedFile );
133
133
134
134
transcript = client .transcripts ().submit (TranscriptParams .builder ()
135
- .audioUrl ("https://storage.googleapis.com/client-docs-samples /nbc.mp3" )
135
+ .audioUrl ("https://assembly.ai /nbc.mp3" )
136
136
.build ());
137
137
System .out .println ("Created transcript " + transcript );
138
138
You can’t perform that action at this time.
0 commit comments