denvot ai

VC/VC++ 2025-07-30

文字模型:Gigachat

安装指南:

  1. 安装Python 3.10

  2. 安装git

  3. 安装FFMPEG

  4. 下载Denvot-A存储库:

     git clone https://git*hub.c**om/TUBIK-corp/denvot-ai/
    cd .denvot-ai
    
  5. 创建VENV:

     python -m venv venv
    .venvScriptsactivate
    

    如果您使用Windows并获得错误

    "cannot be loaded because the execution of scripts is disabled on this system"

    然后代表管理员打开PowerShell并运行以下内容:

     Set-ExecutionPolicy RemoteSigned
    A
    
  6. 下载hubert_base.pt and rmvpe.pt文件并将其放在存储库中

  7. 安装所有剩余的必要库:

     pip install -r requirements.txt
    
  8. 创建一个config.py

     API_KEY = ""  # Ваш токен, полученный в личном кабинете GigaChat API из поля Авторизационные данные
    

功能:

要使用功能,请首先安装和导入DENVOT_AI:

 import denvot_ai
  1. 发送请求的功能:
     denvot_ai.send(message, rvc_model, tts_model, pitch)
    
    在输出时,它会发出带有答案的音频文件。它有4个参数:
    1. message是强制性参数,请求应该是现代的。
    2. rvc_model语音模型文件的名称,可选参数。
    3. tts_model TTS名称模型,可选参数。
    4. pitch - 合成语音的音调,可选参数。
  2. 语音综合功能:
     denvot_ai.tts(message, rvc_model, tts_model, pitch)
    
    在输出时,它会发出带有答案的音频文件。具有与denvot.send()中的类似参数
下载源码

通过命令行克隆项目:

git clone https://github.com/TUBIK-corp/denvot-ai.git