Tejasva-Maurya
commited on
Commit
•
d2b4d79
1
Parent(s):
fa84060
Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ except Exception as e:
|
|
57 |
# Use a random speaker embedding as fallback
|
58 |
speaker_embedding = torch.randn(1, 512)
|
59 |
|
60 |
-
def
|
61 |
replacements = [
|
62 |
# Vowels and vowel matras
|
63 |
("अ", "a"),
|
|
|
57 |
# Use a random speaker embedding as fallback
|
58 |
speaker_embedding = torch.randn(1, 512)
|
59 |
|
60 |
+
def text_to_speech(text):
|
61 |
replacements = [
|
62 |
# Vowels and vowel matras
|
63 |
("अ", "a"),
|