nikkmitra commited on
Commit
1d877e3
1 Parent(s): f51688f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -73,7 +73,7 @@ def split_text_into_chunks(text, max_tokens=100, language="en"):
73
  chunks.append(chunk)
74
  return '\n'.join(chunks)
75
 
76
- @spaces.GPU(enable_queue=True)
77
  def tts_generate(text, voice, language):
78
  # Check for Hindi language and split text if necessary
79
 
 
73
  chunks.append(chunk)
74
  return '\n'.join(chunks)
75
 
76
+ @spaces.GPU(duration=120)
77
  def tts_generate(text, voice, language):
78
  # Check for Hindi language and split text if necessary
79