- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1
Feature/add tts #51
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
base: main
Are you sure you want to change the base?
Feature/add tts #51
Conversation
| @@ -0,0 +1,274 @@ | |||
| # Speechmatics Batch API Client | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This README needs rewriting to reflect the TTS client rather than batch
| from speechmatics.tts import AsyncClient | ||
|  | ||
| @pytest.mark.asyncio | ||
| async def test_async_http(): | 
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great! Love to have tests in place. One thing to raise is that the tests will always fail in the pipeline if we don't have an API key (e.g. it's not configured or we're on a fork). We probably want something which first checks we have an API key and then runs the test if we do. We can talk about that offline if you want
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my voice sdk tests, I add in the following at the top (see tests/voice/test_02_transcriber.py):
# Skip for CI testing
pytestmark = pytest.mark.skipif(os.getenv("CI") == "true", reason="Skipping transcriber tests in CI")
Co-authored-by: Tudor Evans <[email protected]>
Co-authored-by: Tudor Evans <[email protected]>
Co-authored-by: Tudor Evans <[email protected]>
Co-authored-by: Tudor Evans <[email protected]>
Co-authored-by: Tudor Evans <[email protected]>
TTS async client