Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kaldi CLI fails on transcription #348

Open
ginalevow opened this issue May 26, 2024 · 0 comments
Open

Kaldi CLI fails on transcription #348

ginalevow opened this issue May 26, 2024 · 0 comments

Comments

@ginalevow
Copy link

The Kaldi CLI fails when running 'transcribe.py'
Traceback (most recent call last):
File "/elpis/elpis/examples/cli/kaldi/transcribe.py", line 33, in
t.prepare_audio(faudio)
File "/elpis/elpis/engines/kaldi/objects/transcription.py", line 235, in prepare_audio
self._process_audio_file(audio)
File "/elpis/elpis/engines/kaldi/objects/transcription.py", line 63, in _process_audio_file
self.audio_filename = audio.filename
AttributeError: '_io.BufferedReader' object has no attribute 'filename'

I think the CLI example is out of sync with the use of werkzeug's FileStorage elsewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant