Spaces:
kevinwang676
/
Runtime error

Vaibhav Srivastav commited on
Commit
e7a921a
1 Parent(s): ee48acc
Files changed (2) hide show
  1. README.md +2 -0
  2. app.py +4 -1
README.md CHANGED
@@ -7,6 +7,8 @@ sdk: gradio
7
  sdk_version: 3.44.2
8
  app_file: app.py
9
  pinned: false
 
 
10
  ---
11
 
12
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
7
  sdk_version: 3.44.2
8
  app_file: app.py
9
  pinned: false
10
+ models:
11
+ - coqui/XTTS-v1
12
  ---
13
 
14
  Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
app.py CHANGED
@@ -24,7 +24,7 @@ def predict(prompt, language, audio_file_pth, agree):
24
  title = "Coqui🐸 XTTS"
25
 
26
  description = """
27
- XTTS is a Voice generation model that lets you clone voices into different languages by using just a quick 3-second audio clip.
28
  <br/>
29
  Built on Tortoise, XTTS has important model changes that make cross-language voice cloning and multi-lingual speech generation super easy.
30
  <br/>
@@ -49,16 +49,19 @@ examples = [
49
  # "Once when I was six years old I saw a magnificent picture.",
50
  # "en",
51
  # "examples/female.wav",
 
52
  # ],
53
  [
54
  "Lorsque j'avais six ans j'ai vu, une fois, une magnifique image.",
55
  "fr",
56
  "examples/male.wav",
 
57
  ],
58
  # [
59
  # "Un tempo lontano, quando avevo sei anni, vidi un magnifico disegno.",
60
  # "it",
61
  # "examples/female.wav",
 
62
  # ],
63
  ]
64
 
 
24
  title = "Coqui🐸 XTTS"
25
 
26
  description = """
27
+ <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.
28
  <br/>
29
  Built on Tortoise, XTTS has important model changes that make cross-language voice cloning and multi-lingual speech generation super easy.
30
  <br/>
 
49
  # "Once when I was six years old I saw a magnificent picture.",
50
  # "en",
51
  # "examples/female.wav",
52
+ # True
53
  # ],
54
  [
55
  "Lorsque j'avais six ans j'ai vu, une fois, une magnifique image.",
56
  "fr",
57
  "examples/male.wav",
58
+ True
59
  ],
60
  # [
61
  # "Un tempo lontano, quando avevo sei anni, vidi un magnifico disegno.",
62
  # "it",
63
  # "examples/female.wav",
64
+ # True
65
  # ],
66
  ]
67