diff --git a/recipes/TextToSpeech.py b/recipes/TextToSpeech.py index 16677d788..dfa5da82b 100644 --- a/recipes/TextToSpeech.py +++ b/recipes/TextToSpeech.py @@ -153,13 +153,9 @@ def additional_notes(self): if tts_provider == TextToSpeechProviders.ELEVEN_LABS.name: _, is_user_provided_key = self._get_elevenlabs_api_key(st.session_state) if is_user_provided_key: - return """ - *Eleven Labs cost ≈ No additional credit charge given we'll use your API key* - """ + return "*Eleven Labs cost ≈ No additional credit charge given we'll use your API key*" else: - return """ - *Eleven Labs cost ≈ 4 credits per 10 words* - """ + return "*Eleven Labs cost ≈ 4 credits per 10 words*" else: return ""