Giter Club home page Giter Club logo

Comments (6)

KoljaB avatar KoljaB commented on September 16, 2024

This sounds more like the behaviour of the on_realtime_transcription_update callback. Definitely should not occur with the default parameter set. My first guess would be you are maybe using the same callbacks for both the on_transcription_finished callback from the text method and the on_realtime_transcription_update callback from the AudioToTextRecorder constructor.

from realtimestt.

KoljaB avatar KoljaB commented on September 16, 2024

Some updates on this. Former faster-whisper version prob caused this (got somehow corrupted on pypi), I think it was 0.6.0. Neuer versions are fine.

from realtimestt.

jacobtang avatar jacobtang commented on September 16, 2024

Thanks! Should I use the 0.6.0 version of the faster-whisper instead of the latetest [v1.0.1]?(https://github.com/SYSTRAN/faster-whisper/releases/tag/v1.0.1)
Or just update the latest faster-whisper / RealtimeSTT version?

from realtimestt.

KoljaB avatar KoljaB commented on September 16, 2024

You can upgrade RealtimeSTT to newest version which uses latest faster-whisper 1.0.1 (this version is also referenced in the requirements file of RealtimeSTT) .

from realtimestt.

jacobtang avatar jacobtang commented on September 16, 2024

great! Another question is the latest v0.1.15 of RealtimeSTT has the parameter beam_size, it can be use to reduce the delay?

from realtimestt.

KoljaB avatar KoljaB commented on September 16, 2024

You trade-off accuracy vs speed: A larger beam_size yields better quality output because the model can explore more options and potentially avoid local minima in the search space. But also means slower performance because more sequences are evaluated at each step.

from realtimestt.

Related Issues (20)

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.