启动器.ipynb 1.73 KB
Newer Older
chenpangpang's avatar
chenpangpang committed
1
2
3
4
5
6
7
8
9
{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "e5c5a211-2ccd-4341-af10-ac546484b91f",
   "metadata": {
    "tags": []
   },
   "source": [
10
11
12
13
14
    "## 项目介绍\n",
    "\n",
    "- 原项目地址:https://huggingface.co/spaces/parler-tts/parler_tts\n",
    "- parler-tts:一款使用简单文本提示即可生成高保真语音的工具\n",
    "## 使用说明\n",
chenpangpang's avatar
chenpangpang committed
15
16
17
18
    "- 启动和重启 Notebook 点上方工具栏中的「重启并运行所有单元格」。出现如下内容就算成功了:\n",
    "    - `Running on local URL:  http://0.0.0.0:7860`\n",
    "    - `Running on public URL: https://xxxxxxxxxxxxxxx.gradio.live`\n",
    "- 通过以下方式开启页面:\n",
19
    "    - 加载模型需要3分钟左右时间,请耐心等待\n",
chenpangpang's avatar
chenpangpang committed
20
21
    "    - 控制台打开「自定义服务」了,访问自定义服务端口号设置为7860\n",
    "    - 直接打开显示的公开链接`public URL`\n",
22
    "\n"
chenpangpang's avatar
chenpangpang committed
23
24
25
26
   ]
  },
  {
   "cell_type": "code",
27
   "execution_count": null,
chenpangpang's avatar
chenpangpang committed
28
29
   "id": "53a96614-e2d2-4710-a82b-0d5ca9cb9872",
   "metadata": {
30
    "tags": []
chenpangpang's avatar
chenpangpang committed
31
   },
32
   "outputs": [],
chenpangpang's avatar
chenpangpang committed
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
67
68
   "source": [
    "# 启动\n",
    "!sh start.sh"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "9e81ae9d-3a34-43a0-943a-ff5e9d6ce961",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.10.13"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}