Olivier-Truong
commited on
Commit
•
fab601a
1
Parent(s):
48b3e91
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def predict(prompt, language, audio_file_pth, mic_file_path, use_mic, agree):
|
|
35 |
None,
|
36 |
)
|
37 |
if len(prompt)>10000:
|
38 |
-
gr.Warning("Text length limited to
|
39 |
return (
|
40 |
None,
|
41 |
None,
|
@@ -75,7 +75,7 @@ def predict(prompt, language, audio_file_pth, mic_file_path, use_mic, agree):
|
|
75 |
)
|
76 |
|
77 |
|
78 |
-
title = "
|
79 |
|
80 |
description = """
|
81 |
<a href="https://huggingface.co/coqui/XTTS-v1">XTTS</a> is a Voice generation model that lets you clone voices into different languages by using just a quick 3-second audio clip.
|
@@ -108,7 +108,7 @@ examples = [
|
|
108 |
True,
|
109 |
],
|
110 |
[
|
111 |
-
"Je suis
|
112 |
"fr",
|
113 |
"examples/male.wav",
|
114 |
None,
|
|
|
35 |
None,
|
36 |
)
|
37 |
if len(prompt)>10000:
|
38 |
+
gr.Warning("Text length limited to 10000 characters for this demo, please try shorter text")
|
39 |
return (
|
40 |
None,
|
41 |
None,
|
|
|
75 |
)
|
76 |
|
77 |
|
78 |
+
title = "XTTS Glz's remake (Fonctional Text-2-Speech)"
|
79 |
|
80 |
description = """
|
81 |
<a href="https://huggingface.co/coqui/XTTS-v1">XTTS</a> is a Voice generation model that lets you clone voices into different languages by using just a quick 3-second audio clip.
|
|
|
108 |
True,
|
109 |
],
|
110 |
[
|
111 |
+
"Je suis un lycéen français de 17 ans, passioner par la Cyber-Sécuritée et les models d'IA.",
|
112 |
"fr",
|
113 |
"examples/male.wav",
|
114 |
None,
|