Skip to content

Commit

Permalink
consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
thirtysixthspan committed Nov 25, 2011
1 parent 1fb31cd commit bb3d19d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -41,7 +41,7 @@ Submit a media file URL for transcription

Submit a media file hosted on a platform (e.g., YouTube, Vimeo, SoundCloud)

status, transcript_id = st.transcribe(platform: 'youtube', id: youtube_video_id)
success, transcript_id = st.transcribe(platform: 'youtube', id: youtube_video_id)

Check the status of the transcription process

Expand Down
2 changes: 1 addition & 1 deletion examples/fetch_transcript.rb
Expand Up @@ -24,7 +24,7 @@
end

st = SpeakerText.new(config['api_key'])
success, content = st.fetch_xml_transcript(id: id);
success, content = st.fetch_xml_transcript(id: id)
if success
filename = "#{id}.xml"
File.open(filename, 'w') do |file|
Expand Down
2 changes: 1 addition & 1 deletion examples/transcribe_video.rb
Expand Up @@ -24,7 +24,7 @@
end

st = SpeakerText.new(config['api_key'])
success, transcript_id = st.transcribe(url: url);
success, transcript_id = st.transcribe(url: url)
if success
puts "Success: Transcript ID is #{transcript_id}"
else
Expand Down
4 changes: 2 additions & 2 deletions examples/transcribe_youtube_video.rb
Expand Up @@ -24,8 +24,8 @@
end

st = SpeakerText.new(config['api_key'])
status, transcript_id = st.transcribe(platform: 'youtube', id: video_id);
if status
success, transcript_id = st.transcribe(platform: 'youtube', id: video_id)
if success
puts "Success: Transcript ID is #{transcript_id}"
else
puts "Error: #{transcript_id}"
Expand Down

0 comments on commit bb3d19d

Please sign in to comment.