MeowSky49887 commited on
Commit
ed04fe1
verified
1 Parent(s): 8dec307

Upload VOICEVOX.ipynb

Browse files
Files changed (1) hide show
  1. VOICEVOX.ipynb +171 -0
VOICEVOX.ipynb ADDED
@@ -0,0 +1,171 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "cells": [
3
+ {
4
+ "cell_type": "markdown",
5
+ "source": [
6
+ "# VOICEVOX"
7
+ ],
8
+ "metadata": {
9
+ "id": "xzgajTTZZ26O"
10
+ }
11
+ },
12
+ {
13
+ "cell_type": "code",
14
+ "execution_count": null,
15
+ "metadata": {
16
+ "id": "qz89S2nWWcmP"
17
+ },
18
+ "outputs": [],
19
+ "source": [
20
+ "!curl -sSfL https://github.com/VOICEVOX/voicevox_core/releases/download/0.15.9/download.sh --output download.sh"
21
+ ]
22
+ },
23
+ {
24
+ "cell_type": "code",
25
+ "execution_count": null,
26
+ "metadata": {
27
+ "id": "QlXxZiuxXYfv"
28
+ },
29
+ "outputs": [],
30
+ "source": [
31
+ "!chmod +x ./download.sh"
32
+ ]
33
+ },
34
+ {
35
+ "cell_type": "code",
36
+ "execution_count": null,
37
+ "metadata": {
38
+ "id": "pZfOp5fVXget"
39
+ },
40
+ "outputs": [],
41
+ "source": [
42
+ "!./download.sh --output voicevox_core --version 0.15.9"
43
+ ]
44
+ },
45
+ {
46
+ "cell_type": "code",
47
+ "execution_count": null,
48
+ "metadata": {
49
+ "id": "7MU5wC0UX6pp"
50
+ },
51
+ "outputs": [],
52
+ "source": [
53
+ "!git clone --branch release-0.24 https://github.com/VOICEVOX/voicevox_engine.git voicevox_engine"
54
+ ]
55
+ },
56
+ {
57
+ "cell_type": "code",
58
+ "execution_count": null,
59
+ "metadata": {
60
+ "id": "ZiWYu-TaX5o4"
61
+ },
62
+ "outputs": [],
63
+ "source": [
64
+ "!pip install --requirement voicevox_engine/requirements.txt"
65
+ ]
66
+ },
67
+ {
68
+ "cell_type": "code",
69
+ "execution_count": null,
70
+ "metadata": {
71
+ "colab": {
72
+ "background_save": true
73
+ },
74
+ "id": "_agP6U7VafcG"
75
+ },
76
+ "outputs": [],
77
+ "source": [
78
+ "!python voicevox_engine/run.py --voicelib_dir voicevox_core --host 0.0.0.0 --port 7860 --cors_policy_mode all"
79
+ ]
80
+ },
81
+ {
82
+ "cell_type": "markdown",
83
+ "source": [
84
+ "# VOICEVOX Nemo"
85
+ ],
86
+ "metadata": {
87
+ "id": "TEXnXlhTZ5eS"
88
+ }
89
+ },
90
+ {
91
+ "cell_type": "code",
92
+ "source": [
93
+ "!curl -sSfL https://github.com/VOICEVOX/voicevox_nemo_core/releases/download/0.15.0/download.sh --output download.sh"
94
+ ],
95
+ "metadata": {
96
+ "id": "-uSYQJJmaCt7"
97
+ },
98
+ "execution_count": null,
99
+ "outputs": []
100
+ },
101
+ {
102
+ "cell_type": "code",
103
+ "source": [
104
+ "!chmod +x ./download.sh"
105
+ ],
106
+ "metadata": {
107
+ "id": "XV-6c7vPaNsz"
108
+ },
109
+ "execution_count": null,
110
+ "outputs": []
111
+ },
112
+ {
113
+ "cell_type": "code",
114
+ "source": [
115
+ "!./download.sh --output voicevox_nemo_core --version 0.15.9"
116
+ ],
117
+ "metadata": {
118
+ "id": "z0yQMh-saPpu"
119
+ },
120
+ "execution_count": null,
121
+ "outputs": []
122
+ },
123
+ {
124
+ "cell_type": "code",
125
+ "source": [
126
+ "!git clone --branch release-0.24 https://github.com/VOICEVOX/voicevox_nemo_engine.git voicevox_nemo_engine"
127
+ ],
128
+ "metadata": {
129
+ "id": "DiGMWqmAa_0N"
130
+ },
131
+ "execution_count": null,
132
+ "outputs": []
133
+ },
134
+ {
135
+ "cell_type": "code",
136
+ "source": [
137
+ "!pip install --requirement voicevox_nemo_engine/requirements.txt"
138
+ ],
139
+ "metadata": {
140
+ "id": "G9X4KZknbDrt"
141
+ },
142
+ "execution_count": null,
143
+ "outputs": []
144
+ },
145
+ {
146
+ "cell_type": "code",
147
+ "source": [
148
+ "!python voicevox_nemo_engine/run.py --voicelib_dir voicevox_nemo_core --host 0.0.0.0 --port 7860 --cors_policy_mode all"
149
+ ],
150
+ "metadata": {
151
+ "id": "zzX6VTBfbEnO"
152
+ },
153
+ "execution_count": null,
154
+ "outputs": []
155
+ }
156
+ ],
157
+ "metadata": {
158
+ "colab": {
159
+ "provenance": []
160
+ },
161
+ "kernelspec": {
162
+ "display_name": "Python 3",
163
+ "name": "python3"
164
+ },
165
+ "language_info": {
166
+ "name": "python"
167
+ }
168
+ },
169
+ "nbformat": 4,
170
+ "nbformat_minor": 0
171
+ }