Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -122,12 +122,6 @@ SPEAKER_METADATA = {
|
|
122 |
# Voice model
|
123 |
VOICE_MODEL = "tts_models/en/vctk/vits"
|
124 |
|
125 |
-
# Embedded metadata (from your file)
|
126 |
-
SPEAKER_METADATA = {
|
127 |
-
300: { "age": 23, "gender": "F", "accent": "American"},
|
128 |
-
271: { "age": 19, "gender": "M", "accent": "Scottish"},
|
129 |
-
# More entries as before
|
130 |
-
}
|
131 |
|
132 |
def clean_text(text):
|
133 |
# Remove hyperlinks
|
|
|
122 |
# Voice model
|
123 |
VOICE_MODEL = "tts_models/en/vctk/vits"
|
124 |
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
|
126 |
def clean_text(text):
|
127 |
# Remove hyperlinks
|