Spaces:
Runtime error
Runtime error
Commit
·
c53da4c
1
Parent(s):
39ccbcc
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,9 +19,6 @@ ckpt_base_zh = 'checkpoints/checkpoints/base_speakers/ZH'
|
|
| 19 |
base_speaker_tts_zh = BaseSpeakerTTS(f'{ckpt_base_zh}/config.json', device=device)
|
| 20 |
base_speaker_tts_zh.load_ckpt(f'{ckpt_base_zh}/checkpoint.pth')
|
| 21 |
|
| 22 |
-
source_se = torch.load(f'{ckpt_base}/zh_default_se.pth').to(device)
|
| 23 |
-
save_path = f'{output_dir}/output_chinese.wav'
|
| 24 |
-
|
| 25 |
|
| 26 |
from tts_voice import tts_order_voice
|
| 27 |
import edge_tts
|
|
|
|
| 19 |
base_speaker_tts_zh = BaseSpeakerTTS(f'{ckpt_base_zh}/config.json', device=device)
|
| 20 |
base_speaker_tts_zh.load_ckpt(f'{ckpt_base_zh}/checkpoint.pth')
|
| 21 |
|
|
|
|
|
|
|
|
|
|
| 22 |
|
| 23 |
from tts_voice import tts_order_voice
|
| 24 |
import edge_tts
|