File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -258,10 +258,9 @@ async function analyzeSafeSearch(gcsUri) {
258
258
}
259
259
260
260
async function analyzeVideoTranscription ( gcsUri ) {
261
- // [START video_speech_transcription_gcs_beta ]
261
+ // [START video_speech_transcription_gcs ]
262
262
// Imports the Google Cloud Video Intelligence library
263
- const videoIntelligence = require ( '@google-cloud/video-intelligence' )
264
- . v1p1beta1 ;
263
+ const videoIntelligence = require ( '@google-cloud/video-intelligence' ) ;
265
264
266
265
// Creates a client
267
266
const client = new videoIntelligence . VideoIntelligenceServiceClient ( ) ;
@@ -299,7 +298,7 @@ async function analyzeVideoTranscription(gcsUri) {
299
298
} ) ;
300
299
console . log ( 'Transcription: ' + alternative . transcript ) ;
301
300
302
- // [END video_speech_transcription_gcs_beta ]
301
+ // [END video_speech_transcription_gcs ]
303
302
}
304
303
305
304
async function main ( ) {
You can’t perform that action at this time.
0 commit comments