Spaces:
Running on Zero
Running on Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -245,7 +245,7 @@ def _split_text_smart(text_in: str, lang_short: str, chunk_limit: int) -> List[s
|
|
| 245 |
# ---------------------------------------------------------
|
| 246 |
# 8) Асноўная функцыя TTS
|
| 247 |
# ---------------------------------------------------------
|
| 248 |
-
@spaces.GPU(duration=
|
| 249 |
def text_to_speech(text_input, speaker_audio, initial_buffer_s, subsequent_buffer_s):
|
| 250 |
t_start_req = time.perf_counter()
|
| 251 |
if not text_input or not str(text_input).strip():
|
|
|
|
| 245 |
# ---------------------------------------------------------
|
| 246 |
# 8) Асноўная функцыя TTS
|
| 247 |
# ---------------------------------------------------------
|
| 248 |
+
@spaces.GPU(duration=15)
|
| 249 |
def text_to_speech(text_input, speaker_audio, initial_buffer_s, subsequent_buffer_s):
|
| 250 |
t_start_req = time.perf_counter()
|
| 251 |
if not text_input or not str(text_input).strip():
|