jianchang512 / ChatTTS-ui

一个简单的本地网页界面,使用ChatTTS将文字合成为语音,同时支持对外提供API接口。A simple native web interface that uses ChatTTS to synthesize text into speech, along with support for external API interfaces.
https://pyvideotrans.com
Other
5.98k stars 687 forks source link

能指定调用的GPU么 #151

Closed DDXDB closed 3 months ago

DDXDB commented 3 months ago

我拥有多张GPU,想将chatTTS指定到副卡运行,主卡运行LLama.cpp。 我是Windows原生环境

jianchang512 commented 3 months ago

打开 .env将 device=default 改为 device=cuda:1 试试,意思是第二个独立显卡