Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ def generate_video_from_topic(topic_prompt, progress=gr.Progress(track_tqdm=True
|
|
68 |
# !!!!!!!!!!! THE FINAL FIX !!!!!!!!!!!
|
69 |
# We now use the official Voice ID for "Adam" instead of the name.
|
70 |
response = elevenlabs_client.text_to_speech.convert(
|
71 |
-
voice_id="
|
72 |
text=narration,
|
73 |
model_id="eleven_multilingual_v2"
|
74 |
)
|
|
|
68 |
# !!!!!!!!!!! THE FINAL FIX !!!!!!!!!!!
|
69 |
# We now use the official Voice ID for "Adam" instead of the name.
|
70 |
response = elevenlabs_client.text_to_speech.convert(
|
71 |
+
voice_id="9BWtsMINqrJLrRacOk9x", # Official ID for Adam
|
72 |
text=narration,
|
73 |
model_id="eleven_multilingual_v2"
|
74 |
)
|