elan-ev / vosk-cli

Apache License 2.0
2 stars 9 forks source link

Absolute path check will fail if the input path includes double slashes (empty components, `'//'`), which can happen in scripts. #27

Open will-ca opened 1 year ago

will-ca commented 1 year ago

https://github.com/elan-ev/vosk-cli/blob/81b9f1ca27efc9ea3fa316be620b41a69edd6b4c/voskcli/transcribe.py#L81-L83