Git Product home page Git Product logo

podcast-transcriber's People

Contributors

agouil avatar jorlejeu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

podcast-transcriber's Issues

AttributeError: 'Resource' object has no attribute 'syncrecognize'

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 !

Not transcribing long audio

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.