Spaces:
Running
Running
zach
commited on
Commit
·
229217f
1
Parent(s):
9c72146
Remove commented out code from hume integration
Browse files
src/integrations/hume_api.py
CHANGED
@@ -102,8 +102,6 @@ def text_to_speech_with_hume(prompt: str, text: str) -> bytes:
|
|
102 |
request_body = {
|
103 |
'text': text,
|
104 |
'voice': {'name': hume_config.random_voice},
|
105 |
-
# "voice_description": prompt, # <-- breaking request!?
|
106 |
-
# "format": hume_config.audio_format, # <-- breaking request!?
|
107 |
}
|
108 |
|
109 |
try:
|
|
|
102 |
request_body = {
|
103 |
'text': text,
|
104 |
'voice': {'name': hume_config.random_voice},
|
|
|
|
|
105 |
}
|
106 |
|
107 |
try:
|