agouil / podcast-transcriber Goto Github PK
View Code? Open in Web Editor NEWA simple audio file transcriber that uses the Google Cloud Speech API for transcription.
License: MIT License
A simple audio file transcriber that uses the Google Cloud Speech API for transcription.
License: MIT License
Hello,
First of all, thank you for the work !
I have an issue : when I run "example.py", the script is downloading the .mp3 file, converting it in .raw and placing it in the /temp directory. But then, it's not uploading to Google's Speech Recognition. I have this error :
File "/Users/jordanl/Documents/podcast-transcriber-master/podcast_transcriber/transcriber.py", line 35, in transcribe service_request = service.speech().syncrecognize( AttributeError: 'Resource' object has no attribute 'syncrecognize'
I don't know where it comes from. Do you have any solution ?
Thank you a lot !
Hey, it's me again.
Podcast-Transcriber is working fine with audio <40 seconds, but returning this error with longer audio :
Transcribing [ 1 / 4 ] /Users/jordanl/Documents/podcast-transcriber-master/podcast_transcriber/tmp/tmp0US1Jn/Vocaroo_s0UA945unKq4004.raw ... Traceback (most recent call last): File "example.py", line 9, in <module> podcast_transcriber.transcribe(args.input_file) File "/Users/jordanl/Documents/podcast-transcriber-master/podcast_transcriber/podcast_transcriber.py", line 78, in transcribe transcript = transcriber.transcribe_many(chunks) File "/Users/jordanl/Documents/podcast-transcriber-master/podcast_transcriber/transcriber.py", line 66, in transcribe_many for alternatives in response['results']: KeyError: 'results'
I tested the transcriber with an audio of 44 seconds, it's working well (it split the audio in 2 and transcribe each cut well, and everything is fine in the output). However, with audio of 80 seconds and 120 seconds, I get this error. I don't really understand the transcribe_many function, any hint on how to resolve the issue ?
Thanks a lot.
hi
is this possible?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.