Skip to content

Commit

Permalink
fix 11labs cost line
Browse files Browse the repository at this point in the history
  • Loading branch information
devxpy committed Nov 10, 2023
1 parent f7d6cf3 commit 31a4372
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions recipes/TextToSpeech.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ""

Expand Down

0 comments on commit 31a4372

Please sign in to comment.