Spaces:
Running on Zero
Running on Zero
Update tts_model.py
Browse files- tts_model.py +1 -1
tts_model.py
CHANGED
|
@@ -293,7 +293,7 @@ def _split_text_smart(text_in: str, lang_short: str, chunk_limit: int) -> List[s
|
|
| 293 |
# ---------------------------------------------------------
|
| 294 |
# 6) Асноўная функцыя TTS (стрымінг)
|
| 295 |
# ---------------------------------------------------------
|
| 296 |
-
@spaces.GPU(duration=
|
| 297 |
def text_to_speech(
|
| 298 |
text_input: str,
|
| 299 |
speaker_audio: Optional[str],
|
|
|
|
| 293 |
# ---------------------------------------------------------
|
| 294 |
# 6) Асноўная функцыя TTS (стрымінг)
|
| 295 |
# ---------------------------------------------------------
|
| 296 |
+
@spaces.GPU(duration=20) # ZeroGPU: інферэнс ідзе на GPU ў межах гэтага выкліку
|
| 297 |
def text_to_speech(
|
| 298 |
text_input: str,
|
| 299 |
speaker_audio: Optional[str],
|