Skip to content
This repository has been archived by the owner on Apr 13, 2022. It is now read-only.

updated tts to work with deepspeech 0.6.1 #41

Merged
merged 1 commit into from
Feb 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ gem 'redis-rails'
gem 'rubocop', require: false

gem 'sequel'
gem 'speech_to_text', '0.1.6'
gem 'speech_to_text', '0.1.7'
# Use sqlite3 as the database for Active Record
#gem 'sqlite3'
gem 'table_print'
Expand Down
4 changes: 2 additions & 2 deletions lib/texttrack/deepspeech_worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,12 @@ def perform(params_json, id, job_id, job_name, start_time)
DeepspeechGetJob.perform_in(30, params.to_json, id, job_id, job_name, start_time)
return
end

callback_json =
SpeechToText::MozillaDeepspeechS2T.order_transcript(job_id,
auth_file_path,
params[:provider][:apikey])

myarray =
SpeechToText::MozillaDeepspeechS2T.create_mozilla_array(callback_json)

Expand Down