If you remove the examples, you have to adapt the application

#3
Files changed (1) hide show
  1. app.py +0 -101
app.py CHANGED
@@ -106,105 +106,6 @@ article = """
106
  <p>By using this demo you agree to the terms of the Coqui Public Model License at https://coqui.ai/cpml</p>
107
  </div>
108
  """
109
- examples = [
110
- [
111
- "Hello, World !, here is an example of light voice cloning. Try to upload your best audio samples quality",
112
- "en",
113
- "examples/female.wav",
114
- None,
115
- False,
116
- True,
117
- ],
118
- [
119
- "Je suis un lycéen français de 18 ans, passioner par la Cyber-Sécuritée et les models d'IA.",
120
- "fr",
121
- "examples/female.wav",
122
- None,
123
- False,
124
- True,
125
- ],
126
- [
127
- "Als ich sechs war, sah ich einmal ein wunderbares Bild",
128
- "de",
129
- "examples/female.wav",
130
- None,
131
- False,
132
- True,
133
- ],
134
- [
135
- "Cuando tenía cuarenta años, vi una vez una imagen magnífica",
136
- "es",
137
- "examples/female.wav",
138
- None,
139
- False,
140
- True,
141
- ],
142
- [
143
- "Quando eu tinha quarenta anos eu vi, uma vez, uma imagem magnífica",
144
- "pt",
145
- "examples/female.wav",
146
- None,
147
- False,
148
- True,
149
- ],
150
- [
151
- "Kiedy miałem sześć lat, zobaczyłem pewnego razu wspaniały obrazek",
152
- "pl",
153
- "examples/female.wav",
154
- None,
155
- False,
156
- True,
157
- ],
158
- [
159
- "Un tempo lontano, quando avevo sei anni, vidi un magnifico disegno",
160
- "it",
161
- "examples/female.wav",
162
- None,
163
- False,
164
- True,
165
- ],
166
- [
167
- "Bir zamanlar, altı yaşındayken, muhteşem bir resim gördüm",
168
- "tr",
169
- "examples/female.wav",
170
- None,
171
- False,
172
- True,
173
- ],
174
- [
175
- "Когда мне было шесть лет, я увидел однажды удивительную картинку",
176
- "ru",
177
- "examples/female.wav",
178
- None,
179
- False,
180
- True,
181
- ],
182
- [
183
- "Toen ik een jaar of zes was, zag ik op een keer een prachtige plaat",
184
- "nl",
185
- "examples/female.wav",
186
- None,
187
- False,
188
- True,
189
- ],
190
- [
191
- "Když mi bylo šest let, viděl jsem jednou nádherný obrázek",
192
- "cs",
193
- "examples/female.wav",
194
- None,
195
- False,
196
- True,
197
- ],
198
- [
199
- "当我还只有六岁的时候, 看到了一副精彩的插画",
200
- "zh-cn",
201
- "examples/female.wav",
202
- None,
203
- False,
204
- True,
205
- ],
206
- ]
207
-
208
 
209
 
210
  gr.Interface(
@@ -240,7 +141,6 @@ gr.Interface(
240
  label="Reference Audio",
241
  info="Click on the ✎ button to upload your own target speaker audio",
242
  type="filepath",
243
- value="examples/female2.wav",
244
  ),
245
  gr.Audio(source="microphone",
246
  type="filepath",
@@ -262,5 +162,4 @@ gr.Interface(
262
  title=title,
263
  description=description,
264
  article=article,
265
- examples=examples,
266
  ).queue().launch(debug=True)
 
106
  <p>By using this demo you agree to the terms of the Coqui Public Model License at https://coqui.ai/cpml</p>
107
  </div>
108
  """
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
109
 
110
 
111
  gr.Interface(
 
141
  label="Reference Audio",
142
  info="Click on the ✎ button to upload your own target speaker audio",
143
  type="filepath",
 
144
  ),
145
  gr.Audio(source="microphone",
146
  type="filepath",
 
162
  title=title,
163
  description=description,
164
  article=article,
 
165
  ).queue().launch(debug=True)