-
-
Save mfreyeso/8095f33e111ed5d5b1ba42111ad6d6ed to your computer and use it in GitHub Desktop.
Speech API Google
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import re | |
| from transcribe import main | |
| def test_main(resource, capsys): | |
| main(resource('audio.raw')) | |
| out, err = capsys.readouterr() | |
| assert re.search(r'how old is the Brooklyn Bridge', out, re.DOTALL | re.I) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment