netease-youdao / EmotiVoice

EmotiVoice 😊: a Multi-Voice and Prompt-Controlled TTS Engine
Apache License 2.0
7.3k stars 624 forks source link

demo_page.py里头 device写死了用CPU #32

Closed shirubei closed 10 months ago

shirubei commented 10 months ago

建议改为 DEVICE = "cuda:0" if torch.cuda.is_available() else "cpu"

syq163 commented 10 months ago

Good suggestion, already accepted and updated.