Update config.py
Browse files
config.py
CHANGED
@@ -19,6 +19,10 @@ class Config:
|
|
19 |
self.noautoopen,
|
20 |
) = self.arg_parse()
|
21 |
self.x_pad, self.x_query, self.x_center, self.x_max = self.device_config()
|
|
|
|
|
|
|
|
|
22 |
|
23 |
@staticmethod
|
24 |
def arg_parse() -> tuple:
|
|
|
19 |
self.noautoopen,
|
20 |
) = self.arg_parse()
|
21 |
self.x_pad, self.x_query, self.x_center, self.x_max = self.device_config()
|
22 |
+
|
23 |
+
# New parameters for concurrent TTS handling
|
24 |
+
self.max_concurrent_tts = 50 # Adjust based on your server's capacity
|
25 |
+
self.tts_rate_limit = 10 # Requests per second
|
26 |
|
27 |
@staticmethod
|
28 |
def arg_parse() -> tuple:
|