diff --git a/colab.en.ipynb b/colab.en.ipynb index a698396..fd271ca 100644 --- a/colab.en.ipynb +++ b/colab.en.ipynb @@ -25,12 +25,7 @@ "\n", "This link is the public URL you can access.\n", "\n", - "> Note: If you are prompted to restart while installing packages, please select \"No\".\n", - "\n", - "## Refs\n", - "\n", - "- [ChatTTS Project](https://github.com/2noise/ChatTTS)\n", - "- [PaddleSpeech Project](https://github.com/PaddlePaddle/PaddleSpeech)" + "> Note: If you are prompted to restart while installing packages, please select \"No\".\n" ] }, { @@ -41,26 +36,26 @@ }, "outputs": [], "source": [ - "# Clone the repository\n", + "# 1. Clone the repository\n", "!git clone https://github.com/lenML/ChatTTS-Forge\n", "\n", - "# Change directory to the repository\n", + "# 2. Change directory to the repository\n", "%cd ChatTTS-Forge\n", "\n", - "# Install ffmpeg and rubberband-cli\n", + "# 3. Install ffmpeg and rubberband-cli\n", "!apt-get update -y\n", "!apt-get install -y ffmpeg rubberband-cli\n", "\n", - "# Install PyTorch\n", + "# 4. Install PyTorch\n", "!pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu113\n", "\n", - "# Install dependencies\n", + "# 5. Install dependencies\n", "!pip install -r requirements.txt\n", "\n", - "# download models\n", + "# 6. download models\n", "!python -m scripts.download_models --source huggingface\n", "\n", - "# Run the web interface\n", + "# 7. Run the web interface\n", "!python webui.py --share --language=en\n" ] }, @@ -73,9 +68,10 @@ } ], "metadata": { + "accelerator": "GPU", "colab": { - "provenance": [], - "gpuType": "T4" + "gpuType": "T4", + "provenance": [] }, "kernelspec": { "display_name": "Python 3", @@ -83,8 +79,7 @@ }, "language_info": { "name": "python" - }, - "accelerator": "GPU" + } }, "nbformat": 4, "nbformat_minor": 0 diff --git a/colab.ipynb b/colab.ipynb index d6d42ea..bebfef2 100644 --- a/colab.ipynb +++ b/colab.ipynb @@ -25,12 +25,7 @@ "\n", "该链接即为您可以访问的公网地址。\n", "\n", - "> 注意:如果在安装包时提示需要重启,请选择 \"否\"。\n", - "\n", - "## Refs\n", - "\n", - "- [ChatTTS 项目](https://github.com/2noise/ChatTTS)\n", - "- [PaddleSpeech 项目](https://github.com/PaddlePaddle/PaddleSpeech)" + "> 注意:如果在安装包时提示需要重启,请选择 \"否\"。" ] }, { @@ -41,26 +36,26 @@ }, "outputs": [], "source": [ - "# Clone the repository\n", + "# 1. Clone the repository\n", "!git clone https://github.com/lenML/ChatTTS-Forge\n", "\n", - "# Change directory to the repository\n", + "# 2. Change directory to the repository\n", "%cd ChatTTS-Forge\n", "\n", - "# Install ffmpeg and rubberband-cli\n", + "# 3. Install ffmpeg and rubberband-cli\n", "!apt-get update -y\n", "!apt-get install -y ffmpeg rubberband-cli\n", "\n", - "# Install PyTorch\n", + "# 4. Install PyTorch\n", "!pip3 install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu113\n", "\n", - "# Install dependencies\n", + "# 5. Install dependencies\n", "!pip install -r requirements.txt\n", "\n", - "# download models\n", + "# 6. download models\n", "!python -m scripts.download_models --source huggingface\n", "\n", - "# Run the web interface\n", + "# 7. Run the web interface\n", "!python webui.py --share --language=zh-CN\n" ] }, @@ -73,9 +68,10 @@ } ], "metadata": { + "accelerator": "GPU", "colab": { - "provenance": [], - "gpuType": "T4" + "gpuType": "T4", + "provenance": [] }, "kernelspec": { "display_name": "Python 3", @@ -83,8 +79,7 @@ }, "language_info": { "name": "python" - }, - "accelerator": "GPU" + } }, "nbformat": 4, "nbformat_minor": 0 diff --git a/requirements.dev.txt b/requirements.dev.txt index 951ead1..68aad8b 100644 --- a/requirements.dev.txt +++ b/requirements.dev.txt @@ -33,8 +33,8 @@ filelock==3.14.0 fonttools==4.53.0 frozendict==2.4.4 fsspec==2024.5.0 -gradio==4.39.0 -gradio_client==1.1.1 +gradio==4.44.0 +gradio_client==1.3.0 grpcio==1.64.1 h11==0.14.0 hjson==3.1.0 diff --git a/requirements.docker.txt b/requirements.docker.txt index 1e25493..ae1ff36 100644 --- a/requirements.docker.txt +++ b/requirements.docker.txt @@ -26,8 +26,8 @@ zhon mistune==3.0.2 # gradio -gradio==4.39.0 -gradio_client==1.1.1 +gradio==4.44.0 +gradio_client==1.3.0 cn2an # audio_denoiser diff --git a/requirements.txt b/requirements.txt index 01cc3b8..d6321c8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -25,8 +25,8 @@ zhon mistune==3.0.2 # gradio -gradio==4.39.0 -gradio_client==1.1.1 +gradio==4.44.0 +gradio_client==1.3.0 # audio_denoiser python-box diff --git a/requirements.windows.txt b/requirements.windows.txt index 10a0f38..8fbf260 100644 --- a/requirements.windows.txt +++ b/requirements.windows.txt @@ -25,8 +25,8 @@ zhon mistune==3.0.2 # gradio -gradio==4.39.0 -gradio_client==1.1.1 +gradio==4.44.0 +gradio_client==1.3.0 # audio_denoiser python-box