diff --git a/GPT_SoVITS_v3.ipynb b/GPT_SoVITS_v3.ipynb new file mode 100644 index 0000000..c3935d9 --- /dev/null +++ b/GPT_SoVITS_v3.ipynb @@ -0,0 +1,66 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": { + "id": "view-in-github", + "colab_type": "text" + }, + "source": [ + "\"Open" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": { + "id": "LENDan0wB16N" + }, + "outputs": [], + "source": [ + "# @title 一键开启GPT-SoVITS-v3\n", + "\n", + "!pip install -q condacolab\n", + "# Setting up condacolab and installing packages\n", + "import condacolab\n", + "condacolab.install_from_url(\"https://repo.anaconda.com/miniconda/Miniconda3-py39_23.11.0-2-Linux-x86_64.sh\")\n", + "!git clone https://huggingface.co/kevinwang676/GPT-SoVITS-v3.git\n", + "!conda install -y -q -c pytorch -c nvidia cudatoolkit\n", + "%cd GPT-SoVITS-v3\n", + "!conda install -y -q -c conda-forge gcc gxx ffmpeg cmake -c pytorch -c nvidia\n", + "!/usr/local/bin/pip install -r requirements.txt\n", + "!sudo apt install ffmpeg\n", + "!sudo apt install libsox-dev\n", + "!pip install LangSegment\n", + "!pip install numpy==1.23.4\n", + "import nltk\n", + "nltk.download(\"all\")\n", + "!mv tools/damo_asr/speech_fsmn_vad_zh-cn-16k-common-pytorch tools/asr/models/\n", + "!mv tools/damo_asr/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch tools/asr/models/\n", + "!mv tools/damo_asr/punc_ct-transformer_zh-cn-common-vocab272727-pytorch tools/asr/models/\n", + "!/usr/local/bin/pip install ipykernel\n", + "!sed -i '10s/False/True/' /content/GPT-SoVITS-v3/config.py\n", + "%cd /content/GPT-SoVITS-v3/\n", + "!/usr/local/bin/python webui.py zh_CN" + ] + } + ], + "metadata": { + "accelerator": "GPU", + "colab": { + "gpuType": "T4", + "provenance": [], + "authorship_tag": "ABX9TyNUFUSb9BjmK/yNR6OqE232", + "include_colab_link": true + }, + "kernelspec": { + "display_name": "Python 3", + "name": "python3" + }, + "language_info": { + "name": "python" + } + }, + "nbformat": 4, + "nbformat_minor": 0 +} \ No newline at end of file