Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -83,9 +83,6 @@ def normalize_text(text):
|
|
| 83 |
text = text.replace(sym, ' ' + word + ' ')
|
| 84 |
text = text.replace("KH", "qa").replace("Z", "S")
|
| 85 |
text = text.replace("SH", "SHa'a").replace("DH", "Dha'a")
|
| 86 |
-
text = text.replace("ZamZam", "samsam")
|
| 87 |
-
text = text.replace("Zamzam", "samsam")
|
| 88 |
-
text = text.replace("zamzam", "samsam")
|
| 89 |
return text
|
| 90 |
|
| 91 |
def tts(text):
|
|
|
|
| 83 |
text = text.replace(sym, ' ' + word + ' ')
|
| 84 |
text = text.replace("KH", "qa").replace("Z", "S")
|
| 85 |
text = text.replace("SH", "SHa'a").replace("DH", "Dha'a")
|
|
|
|
|
|
|
|
|
|
| 86 |
return text
|
| 87 |
|
| 88 |
def tts(text):
|