Spaces:
Build error
Build error
update
Browse files
app.py
CHANGED
|
@@ -11,6 +11,8 @@ def phonemizer(text: str):
|
|
| 11 |
if not text:
|
| 12 |
return ""
|
| 13 |
|
|
|
|
|
|
|
| 14 |
env = phonetisaurus.guess_environment()
|
| 15 |
model_path = "./model.fst"
|
| 16 |
|
|
|
|
| 11 |
if not text:
|
| 12 |
return ""
|
| 13 |
|
| 14 |
+
|
| 15 |
+
text = text.lower()
|
| 16 |
env = phonetisaurus.guess_environment()
|
| 17 |
model_path = "./model.fst"
|
| 18 |
|