Skip to content

Commit 8f2928f

Browse files
authored
Merge pull request #38 from slashml/gcp
Gcp
2 parents a967111 + 68dc1b6 commit 8f2928f

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
66

77
### Added
88
- Added deepgram model for SpeechToText service
9+
- Added gcp model for SpeechToText service
910

1011
### Fixed
1112
- Fixed a bug in examples by replacing verbs with `submit_job`

examples/speech_to_text_sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Replace `API_KEY` with your SlasML API token. This example still runs without
44
# the API token but usage will be limited
55
API_KEY = None
6-
service_provider = SpeechToText.ServiceProvider.DEEPGRAM
6+
service_provider = SpeechToText.ServiceProvider.GOOGLE
77
audio_filepath = "test.mp3"
88

99
# Find all the service providers that we support by running the choices() method

slashml/speech_to_text.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ class ServiceProvider(Enum):
1010
AWS = "aws"
1111
WHISPER = "whisper"
1212
DEEPGRAM = 'deepgram'
13+
GOOGLE = 'google'
1314

1415
@classmethod
1516
def choices(cls):

0 commit comments

Comments
 (0)