{ "cells": [ { "cell_type": "markdown", "metadata": { "colab_type": "text", "id": "view-in-github" }, "source": [ "\"Open" ] }, { "cell_type": "markdown", "metadata": { "id": "_o6a8GS2lWQM" }, "source": [ "环境配置 environment" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "id": "e9b7iFV3dm1f" }, "outputs": [], "source": [ "!pip install -q condacolab\n", "# Setting up condacolab and installing packages\n", "import condacolab\n", "condacolab.install_from_url(\"https://repo.anaconda.com/archive/Anaconda3-2024.10-1-Linux-x86_64.sh\")\n", "\n", "%cd -q /content\n", "!git clone https://github.com/RVC-Boss/GPT-SoVITS\n", "%cd -q GPT-SoVITS\n", "!bash install.sh" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "id": "0NgxXg5sjv7z" }, "outputs": [], "source": [ "# @title UVR5 Pretrained Models\n", "!wget https://www.modelscope.cn/models/XXXXRT/UVR5Weights4GSV/resolve/master/uvr5_weights.zip\n", "!unzip uvr5_weights.zip\n", "!rm -rf uvr5_weights.zip\n", "!mv uvr5_weights/* tools/uvr5/uvr5_weights\n", "!rm -rf uvr5_weights" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "id": "4oRGUzkrk8C7" }, "outputs": [], "source": [ "# @title launch WebUI 启动WebUI\n", "!/usr/local/bin/pip install ipykernel\n", "!sed -i '10s/False/True/' /content/GPT-SoVITS/config.py\n", "%cd /content/GPT-SoVITS/\n", "!/usr/local/bin/python webui.py" ] } ], "metadata": { "accelerator": "GPU", "colab": { "include_colab_link": true, "provenance": [] }, "kernelspec": { "display_name": "Python 3", "name": "python3" } }, "nbformat": 4, "nbformat_minor": 0 }