Update app.py
Browse files
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(
|
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 |
|