revai-python-sdk
revai-python-sdk copied to clipboard
Rev AI Python SDK
Trying to run a microphone streaming example. Using Python version 3.12.2 and on Windows 10. I keep getting this error when trying to run the code: Could not open socket:...
line 149, in _start_send_data_thread if self.request_thread.isAlive(): ^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'Thread' object has no attribute 'isAlive'. Did you mean: 'is_alive'?
This PR fixes the support for `speakers_count` and `remove_atmospherics`, and adds support for `diarization_type`.
When `remove_atmospherics` parameter is passed in functions `submit_job_url()` / `submit_job_local_file()`, below error is encountered. ```python TypeError: submit_job_XXX() got an unexpected keyword argument 'remove_atmospherics' ```
Hi, I'm using Rev_AI for speech transcription, from rev_ai import apiclient client = apiclient.RevAiAPIClient("...") job = client.submit_job_local_file("...", skip_diarization=True, skip_punctuation=True) job_details = client.get_job_details(job.id) transcript_text = client.get_transcript_text(job.id) and the result is: "Speaker...