diff --git a/video/beta/pom.xml b/video/beta/pom.xml index 4a2390115d4..a8995261f45 100644 --- a/video/beta/pom.xml +++ b/video/beta/pom.xml @@ -40,7 +40,7 @@ com.google.cloud google-cloud-video-intelligence - 0.52.0-beta + 0.55.1-beta diff --git a/video/beta/src/main/java/com/example/video/Detect.java b/video/beta/src/main/java/com/example/video/Detect.java index 5b77d5db9ea..5b8939d2a8b 100644 --- a/video/beta/src/main/java/com/example/video/Detect.java +++ b/video/beta/src/main/java/com/example/video/Detect.java @@ -84,6 +84,7 @@ public static void speechTranscription(String gcsUri) throws Exception { // Set the language code SpeechTranscriptionConfig config = SpeechTranscriptionConfig.newBuilder() .setLanguageCode("en-US") + .setEnableAutomaticPunctuation(true) .build(); // Set the video context with the above configuration