Spaces:
Running
Running
zach
commited on
Commit
·
a35c804
1
Parent(s):
f6da887
reduce Hume requests timeout limit
Browse files
src/integrations/hume_api.py
CHANGED
@@ -38,7 +38,7 @@ class HumeConfig:
|
|
38 |
headers: Dict[str, str] = field(init=False)
|
39 |
url: str = "https://api.hume.ai/v0/tts/octave"
|
40 |
file_format: HumeSupportedFileFormat = "mp3"
|
41 |
-
request_timeout: float =
|
42 |
|
43 |
def __post_init__(self) -> None:
|
44 |
# Validate required attributes.
|
|
|
38 |
headers: Dict[str, str] = field(init=False)
|
39 |
url: str = "https://api.hume.ai/v0/tts/octave"
|
40 |
file_format: HumeSupportedFileFormat = "mp3"
|
41 |
+
request_timeout: float = 40.0
|
42 |
|
43 |
def __post_init__(self) -> None:
|
44 |
# Validate required attributes.
|