Tonic commited on
Commit
f7fa40e
1 Parent(s): ceb9e64

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def parse_multilingual_text(input_text):
37
  segments = re.findall(pattern, input_text)
38
  return [(lang, text.strip()) for lang, text in segments if lang in LANGUAGES.keys()]
39
 
40
- @spaces.GPU(enable_queue=True)
41
  def generate_segment_audio(text, lang, speaker_url, pipe):
42
  if not isinstance(text, str):
43
  text = text.decode("utf-8") if isinstance(text, bytes) else str(text)
 
37
  segments = re.findall(pattern, input_text)
38
  return [(lang, text.strip()) for lang, text in segments if lang in LANGUAGES.keys()]
39
 
40
+ @spaces.GPU
41
  def generate_segment_audio(text, lang, speaker_url, pipe):
42
  if not isinstance(text, str):
43
  text = text.decode("utf-8") if isinstance(text, bytes) else str(text)