We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7eef07 commit 3447327Copy full SHA for 3447327
speech/quickstart.rb
@@ -24,10 +24,10 @@
24
speech = gcloud.speech
25
26
# The name of the audio file to transcribe
27
-fileName = "./audio_files/audio.raw"
+file_name = "./audio_files/audio.raw"
28
29
# The audio file's encoding and sample rate
30
-audio = speech.audio fileName, encoding: :raw, sample_rate: 16000
+audio = speech.audio file_name, encoding: :raw, sample_rate: 16000
31
32
# Detects speech in the audio file
33
results = audio.recognize
0 commit comments