Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,6 +27,7 @@ def forward_gpu(ps, ref_s, speed):
|
|
| 27 |
def generate_first(text, voice='af_heart', speed=1, use_gpu=CUDA_AVAILABLE):
|
| 28 |
text = text if CHAR_LIMIT is None else text.strip()[:CHAR_LIMIT]
|
| 29 |
text = f"[_]({indo_to_ipa(text)})"
|
|
|
|
| 30 |
pipeline = pipelines[voice[0]]
|
| 31 |
pack = pipeline.load_voice(voice)
|
| 32 |
use_gpu = use_gpu and CUDA_AVAILABLE
|
|
|
|
| 27 |
def generate_first(text, voice='af_heart', speed=1, use_gpu=CUDA_AVAILABLE):
|
| 28 |
text = text if CHAR_LIMIT is None else text.strip()[:CHAR_LIMIT]
|
| 29 |
text = f"[_]({indo_to_ipa(text)})"
|
| 30 |
+
print("[TEST]", text)
|
| 31 |
pipeline = pipelines[voice[0]]
|
| 32 |
pack = pipeline.load_voice(voice)
|
| 33 |
use_gpu = use_gpu and CUDA_AVAILABLE
|