File size: 1,718 Bytes
003d053
 
 
 
 
 
0196a95
003d053
 
 
 
 
 
 
 
 
 
 
 
 
 
0196a95
003d053
 
 
 
 
 
 
0196a95
003d053
 
 
 
 
 
0196a95
 
 
 
 
003d053
 
 
 
 
 
 
 
0196a95
003d053
 
0196a95
 
003d053
 
 
 
0196a95
003d053
 
0196a95
003d053
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
 "nbformat": 4,
 "nbformat_minor": 0,
 "metadata": {
  "colab": {
   "provenance": [],
   "gpuType": "T4"
  },
  "kernelspec": {
   "name": "python3",
   "display_name": "Python 3"
  },
  "language_info": {
   "name": "python"
  },
  "accelerator": "GPU"
 },
 "cells": [
  {
   "cell_type": "markdown",
   "source": [
    "> 🌟 如果你觉得 ChatTTS 和 ChatTTS_colab 项目对你有帮助,请访问以下链接给它们点个星星吧!🌟\n",
    "\n",
    "- [ChatTTS 项目](https://github.com/2noise/ChatTTS)\n",
    "\n",
    "- [ChatTTS_colab 项目](https://github.com/6drf21e/ChatTTS_colab)\n",
    "\n",
    "感谢你的支持!\n",
    "\n",
    "# 运行方法\n",
    "\n",
    "- 点击菜单栏的--代码执行程序--全部运行即可\n",
    "- 执行后在下方的日志中找到类似\n",
    "\n",
    "  Running on public URL: https://**************.gradio.live  <-这个就是可以访问的公网地址\n",
    "\n",
    "安装包的时候提示要重启 请点**\"\"**"
   ],
   "metadata": {
    "id": "Xo3k5XsTzWK6"
   }
  },
  {
   "cell_type": "code",
   "source": [
    "!git clone -q https://github.com/6drf21e/ChatTTS_colab\n",
    "%cd ChatTTS_colab\n",
    "!git clone -q https://github.com/2noise/ChatTTS\n",
    "%cd ChatTTS\n",
    "!git checkout -q e6412b1\n",
    "%cd ..\n",
    "!mv ChatTTS abc\n",
    "!mv abc/* /content/ChatTTS_colab/\n",
    "!pip install -q omegaconf vocos vector_quantize_pytorch gradio cn2an pypinyin openai jieba WeTextProcessing python-dotenv\n",
    "# 启动 Gradio 有公网地址\n",
    "!python webui_mix.py --share\n"
   ],
   "metadata": {
    "id": "hNDl-5muR77-"
   },
   "execution_count": null,
   "outputs": []
  }
 ]
}