Skip to content

Commit

Permalink
🐛 fix #154 upgrade gradio version
Browse files Browse the repository at this point in the history
- update colab script
  • Loading branch information
zhzLuke96 committed Sep 22, 2024
1 parent 2c779d2 commit e071063
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 42 deletions.
29 changes: 12 additions & 17 deletions colab.en.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
},
{
Expand All @@ -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"
]
},
Expand All @@ -73,18 +68,18 @@
}
],
"metadata": {
"accelerator": "GPU",
"colab": {
"provenance": [],
"gpuType": "T4"
"gpuType": "T4",
"provenance": []
},
"kernelspec": {
"display_name": "Python 3",
"name": "python3"
},
"language_info": {
"name": "python"
},
"accelerator": "GPU"
}
},
"nbformat": 4,
"nbformat_minor": 0
Expand Down
29 changes: 12 additions & 17 deletions colab.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
"> 注意:如果在安装包时提示需要重启,请选择 \"\""
]
},
{
Expand All @@ -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"
]
},
Expand All @@ -73,18 +68,18 @@
}
],
"metadata": {
"accelerator": "GPU",
"colab": {
"provenance": [],
"gpuType": "T4"
"gpuType": "T4",
"provenance": []
},
"kernelspec": {
"display_name": "Python 3",
"name": "python3"
},
"language_info": {
"name": "python"
},
"accelerator": "GPU"
}
},
"nbformat": 4,
"nbformat_minor": 0
Expand Down
4 changes: 2 additions & 2 deletions requirements.dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions requirements.docker.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions requirements.windows.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e071063

Please sign in to comment.