archivartaunik commited on
Commit
42bfdec
·
verified ·
1 Parent(s): 1646821

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=120)
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():