Code Monkey home page Code Monkey logo

gpt_sovits_inference's Introduction

👏 项目描述

原始GPT_SoVITS的效果体验和推理服务较大依赖于基于Gradio的webui界面,为了更方便地推理体验GPT_SoVITS效果,本项目将其推理部分提取并暴露出来,支持一键式的推理部署。

🔥 模型列表

模型名称 模型下载 角色特点 语言
TTS-GPT_SoVITS-sunshine_girl 🤗 / 🤖 阳光少女 zh
TTS-GPT_SoVITS-heartful_sister 🤗 / 🤖 知性姐姐 zh
  • 预训练模型
模型名称 模型下载
GPT-SoVITS 🤗 / 🤖

⚒️ 安装依赖

推荐 Python>=3.9,<=3.10

conda install pytorch==2.1.1 torchvision==0.16.1 torchaudio==2.1.1 pytorch-cuda=11.8 -c pytorch -c nvidia

git clone https://github.com/X-D-Lab/GPT_SoVITS_Inference.git
cd GPT_SoVITS_Inference
pip install -r requirements.txt

如果您是windows使用者,请下载并将 ffmpeg.exeffprobe.exe 放置在本项目的根目录下。

😇 如何使用

详细内容可以参见example.py

import os
import sys

project_root = os.path.abspath('.')
sys.path.append(project_root)


from get_tts_wav import GPT_SoVITS_TTS_inference

text = """我是MindChat漫谈心理大模型"""

inference = GPT_SoVITS_TTS_inference(prompt_language='zh', base_model_id='X-D-Lab/TTS-GPT_SoVITS-pretrained_models', audio_model_id='X-D-Lab/TTS-GPT_SoVITS-sunshine_girl')

inference.get_tts_wav(text=text, wav_save_path="./temp/output1.wav")

👏 Contributors

本项目仍然属于非常早期的阶段,欢迎各位开发者加入!

🙇‍ 致谢

本项目基于GPT-SoVITS进行,感谢他们的开源贡献。

gpt_sovits_inference's People

Contributors

karry12138 avatar thomas-yanxin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.