Spaces:
Build error
Build error
no message
Browse files
app.py
CHANGED
@@ -62,7 +62,7 @@ def parse_multilingual_text(input_text):
|
|
62 |
if not segments: return [("en", "")]
|
63 |
return segments
|
64 |
|
65 |
-
|
66 |
def generate_audio(pipe, segments, speaker, speaker_url, cps=14):
|
67 |
if isinstance(speaker, (str, Path)): speaker = pipe.extract_spk_emb(speaker)
|
68 |
elif speaker_url: speaker = pipe.extract_spk_emb(speaker_url)
|
|
|
62 |
if not segments: return [("en", "")]
|
63 |
return segments
|
64 |
|
65 |
+
#@spaces.GPU(enable_queue=True)
|
66 |
def generate_audio(pipe, segments, speaker, speaker_url, cps=14):
|
67 |
if isinstance(speaker, (str, Path)): speaker = pipe.extract_spk_emb(speaker)
|
68 |
elif speaker_url: speaker = pipe.extract_spk_emb(speaker_url)
|