+
Skip to content

Progress bar not displaying when using 'print_progress=True' #97

Open
@SirDaXll

Description

@SirDaXll

I noticed that Whisper uses tqdm to show a progress bar when verbose=False. In the whisper.cpp project, there's a function named print_progress for this purpose, which is also present in pywhispercpp inside constants.py under PARAMS_SCHEMA (also referenced in the API documentation).

However, when I try to use this functionality, I don't see any progress bar—only the final transcription result is returned.

I tried using in the command line:

pwcpp copy.mp3 -m medium --output-txt --print_realtime true --print_progress true

And in Python:

from pywhispercpp.model import Model

model = Model('tiny')
segments = model.transcribe('copia.mp3', language='es', print_progress=True, print_realtime=True)

print_realtime works fine and are in the same location as the other

I installed the package from the source, use Windows 11 and Python 1.12.6.

This functionality is currently supported in pywhispercpp or if additional configuration is required?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载