Skip to content

Commit 826f5b0

Browse files
committed
remove the old API keys
1 parent 6fd4267 commit 826f5b0

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

examples/pipeline_podcast_summary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Replace `API_KEY` with your SlasML API token. This example still runs without
44
# the API token but usage will be limited
5-
API_KEY = "a7011983a0f3d64ee113317b1e36f8e5bf56c14a"
5+
API_KEY = "YOUR_API_KEY"
66

77
service_provider_speech_to_text = SpeechToText.ServiceProvider.WHISPER
88
service_provider_summarize = TextSummarization.ServiceProvider.OPENAI

examples/speech_summarized.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Replace `API_KEY` with your SlasML API token. This example still runs without
44
# the API token but usage will be limited
5-
API_KEY = "a7011983a0f3d64ee113317b1e36f8e5bf56c14a"
5+
API_KEY = "YOUR_API_KEY"
66

77
service_provider_speech_to_text = SpeechToText.ServiceProvider.WHISPER
88
service_provider_summarize = TextSummarization.ServiceProvider.OPENAI

examples/speech_to_text_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def speech_to_text(audio_filepath, service_provider, api_key):
3232

3333
# Replace `API_KEY` with your SlasML API token. This example still runs without
3434
# the API token but usage will be limited
35-
API_KEY = None
35+
API_KEY = "YOUR_API_KEY"
3636
service_provider = SpeechToText.ServiceProvider.DEEPGRAM
3737
audio_filepath = "test.mp3"
3838

examples/speech_to_text_sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Replace `API_KEY` with your SlasML API token. This example still runs without
44
# the API token but usage will be limited
5-
API_KEY = None
5+
API_KEY = "YOUR_API_KEY"
66
service_provider = SpeechToText.ServiceProvider.REV
77
audio_filepath = "test.mp3"
88

examples/summarize_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def summarize(text, service_provider, api_key):
2525

2626
# Replace `API_KEY` with your SlasML API token. This example still runs without
2727
# the API token but usage will be limited
28-
API_KEY = "b503d137d229fdd4085f59e9ea06ac95d2706182"
28+
API_KEY = "YOUR_API_KEY"
2929
service_provider = TextSummarization.ServiceProvider.OPENAI
3030
input_text = """A good writer doesn't just think, and then write down what he thought, as a sort of transcript. A good writer will almost always discover new things in the process of writing. And there is, as far as I know, no substitute for this kind of discovery. Talking about your ideas with other people is a good way to develop them. But even after doing this, you'll find you still discover new things when you sit down to write. There is a kind of thinking that can only be done by writing."""
3131

examples/summarize_sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# Replace `API_KEY` with your SlasML API token. This example still runs without
55
# the API token but usage will be limited
6-
API_KEY = "a7011983a0f3d64ee113317b1e36f8e5bf56c14a"
6+
API_KEY = "YOUR_API_KEY"
77
service_provider = TextSummarization.ServiceProvider.OPENAI
88

99
input_text = """A good writer doesn't just think, and then write down what he thought, as a sort of transcript. A good writer will almost always discover new things in the process of writing. And there is, as far as I know, no substitute for this kind of discovery. Talking about your ideas with other people is a good way to develop them. But even after doing this, you'll find you still discover new things when you sit down to write. There is a kind of thinking that can only be done by writing."""

examples/text_to_speech_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
# Replace `API_KEY` with your SlasML API token. This example still runs without
55
# the API token but usage will be limited
6-
API_KEY = None
6+
API_KEY = "YOUR_API_KEY"
77
service_provider = TextToSpeech.ServiceProvider.AWS
88
input_text = "To be or not to be, that is the question!"
99

examples/text_to_speech_sync.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Replace `API_KEY` with your SlasML API token. This example still runs without
44
# the API token but usage will be limited
5-
API_KEY = None
5+
API_KEY = "YOUR_API_KEY"
66
service_provider = TextToSpeech.ServiceProvider.AWS
77
input_text = "To be or not to be, that is the question!"
88

0 commit comments

Comments
 (0)