Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -127,7 +127,7 @@ def generate_speech_glmtts(text, ref_audio_path=None, speed=1.0):
|
|
| 127 |
print(f"📝 Using data file: {data_name}")
|
| 128 |
|
| 129 |
# Run GLM-TTS inference
|
| 130 |
-
inference_script =
|
| 131 |
|
| 132 |
cmd = [
|
| 133 |
sys.executable,
|
|
@@ -296,6 +296,7 @@ with gr.Blocks(
|
|
| 296 |
["Artificial intelligence is transforming our world.", None, 1.0],
|
| 297 |
["人工智能正在改变世界。", None, 1.0],
|
| 298 |
["This is a test of zero-shot voice cloning technology.", None, 1.0],
|
|
|
|
| 299 |
],
|
| 300 |
inputs=[text_input, ref_audio_input, speed_slider],
|
| 301 |
outputs=[audio_output, status_output],
|
|
|
|
| 127 |
print(f"📝 Using data file: {data_name}")
|
| 128 |
|
| 129 |
# Run GLM-TTS inference
|
| 130 |
+
inference_script = "glmtts_inference.py"
|
| 131 |
|
| 132 |
cmd = [
|
| 133 |
sys.executable,
|
|
|
|
| 296 |
["Artificial intelligence is transforming our world.", None, 1.0],
|
| 297 |
["人工智能正在改变世界。", None, 1.0],
|
| 298 |
["This is a test of zero-shot voice cloning technology.", None, 1.0],
|
| 299 |
+
["There's a new tool that allows you to clone his voice with just about 10 or 12, maybe 13 or 15 seconds of audio! And it's actually a really good clone! Check this out!", None, 1.0],
|
| 300 |
],
|
| 301 |
inputs=[text_input, ref_audio_input, speed_slider],
|
| 302 |
outputs=[audio_output, status_output],
|