Spaces:
Running
Running
Olivier-Truong
commited on
Commit
•
db322d5
1
Parent(s):
e111049
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import gradio as gr
|
|
7 |
from TTS.api import TTS
|
8 |
|
9 |
model_names = TTS().list_models()
|
10 |
-
m =
|
11 |
#for model in model_names:
|
12 |
# if model.find("/fr/") != -1:
|
13 |
# m = model
|
@@ -114,7 +114,7 @@ examples = [
|
|
114 |
],
|
115 |
[
|
116 |
"Lorsque j'avais six ans j'ai vu, une fois, une magnifique image",
|
117 |
-
"fr
|
118 |
"examples/male.wav",
|
119 |
None,
|
120 |
False,
|
@@ -218,7 +218,7 @@ gr.Interface(
|
|
218 |
choices=[
|
219 |
"en",
|
220 |
"es",
|
221 |
-
"fr
|
222 |
"de",
|
223 |
"it",
|
224 |
"pt",
|
|
|
7 |
from TTS.api import TTS
|
8 |
|
9 |
model_names = TTS().list_models()
|
10 |
+
m = model_names[0]
|
11 |
#for model in model_names:
|
12 |
# if model.find("/fr/") != -1:
|
13 |
# m = model
|
|
|
114 |
],
|
115 |
[
|
116 |
"Lorsque j'avais six ans j'ai vu, une fois, une magnifique image",
|
117 |
+
"fr",
|
118 |
"examples/male.wav",
|
119 |
None,
|
120 |
False,
|
|
|
218 |
choices=[
|
219 |
"en",
|
220 |
"es",
|
221 |
+
"fr",
|
222 |
"de",
|
223 |
"it",
|
224 |
"pt",
|