# Digital_Life_Server **Repository Path**: buyulishang/Digital_Life_Server ## Basic Information - **Project Name**: Digital_Life_Server - **Description**: 极客湾Geekerwan 项目 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2023-05-15 - **Last Updated**: 2024-01-23 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Digital Life Server 这是「数字生命」服务部分代码。包括与前端通信,语音识别,chatGPT接入和语音合成。 For other part of the project, please refer to: [Launcher](https://github.com/CzJam/DL_Launcher) 启动此服务器的图形界面。 [UE Client](https://github.com/QSWWLTN/DigitalLife) 用于渲染人物动画,录音,和播放声音的前端部分。 详细的配置流程可参见[readme_detail.md](readme_detail.md) ## Getting stuffs ready to roll: ### Clone this repo ```bash git clone https://github.com/zixiiu/Digital_Life_Server.git --recursive ``` ### Install prerequisites 1. install pytorch ```bash pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 ``` 2. install other requirements ```bash pip install -r requirements.txt ``` 3. Build `monotonic_align` This may not work that well but you know what that suppose to mean. ```bash cd "TTS/vits/monotonic_align" mkdir monotonic_align python setup.py build_ext --inplace cp monotonic_align/*.pyd . ``` 4. Download models [百度网盘](https://pan.baidu.com/s/1EnHDPADNdhDl71x_DHeElg?pwd=75gr) ASR Model: to `/ASR/resources/models` Sentiment Model: to `/SentimentEngine/models` TTS Model: to `/TTS/models` ### Start the server ```bash run-gpt3.5-api.bat ```