Spaces:
Running
Running
Update voice_of_the_doctor.py
Browse files- voice_of_the_doctor.py +3 -3
voice_of_the_doctor.py
CHANGED
|
@@ -18,10 +18,10 @@ text = "hello this is me danish with ai voice"
|
|
| 18 |
text_to_speech_with_gtts_old_no_autoplay_functionality(input_text=text,output_file= "output_gtts.mp3")
|
| 19 |
|
| 20 |
|
| 21 |
-
import elevenlabs
|
| 22 |
-
from elevenlabs.client import ElevenLabs
|
| 23 |
|
| 24 |
-
ELEVENLABS_API_KEY = os.environ.get("ELEVENLABS_API_KEY")
|
| 25 |
|
| 26 |
# def text_to_speech_with_elevenlabs_old_no_autoplay_functionality(input_text , output_file):
|
| 27 |
# client = ElevenLabs(api_key = ELEVENLABS_API_KEY)
|
|
|
|
| 18 |
text_to_speech_with_gtts_old_no_autoplay_functionality(input_text=text,output_file= "output_gtts.mp3")
|
| 19 |
|
| 20 |
|
| 21 |
+
# import elevenlabs
|
| 22 |
+
# from elevenlabs.client import ElevenLabs
|
| 23 |
|
| 24 |
+
# ELEVENLABS_API_KEY = os.environ.get("ELEVENLABS_API_KEY")
|
| 25 |
|
| 26 |
# def text_to_speech_with_elevenlabs_old_no_autoplay_functionality(input_text , output_file):
|
| 27 |
# client = ElevenLabs(api_key = ELEVENLABS_API_KEY)
|