-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes and improvements for
recognize_assemblyai()
method:
- Adds support for `AudioData` instance. Before, it only worked with a path to a file - Add more error handling - Removes inner `read_file` function since the requests module automatically handles chunking - Removes "content-type" from header since this is not needed - Add docstring - Add example code snippet in `examples/audio_transcribe.py` - List AssemblyAI in README
- Loading branch information
1 parent
8b07762
commit 225bd03
Showing
3 changed files
with
96 additions
and
28 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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