Skip to content

Commit 4beeba6

Browse files
Update edge-tts.py
1 parent a6f3de1 commit 4beeba6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tts/edge-tts.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ async def estts(client: Client, message: Message):
114114
return
115115
if lang == "d" or lang == "default":
116116
lang = DEFAULT_VOICE
117+
if lang == "hi":
118+
lang = "hi-IN-SwaraNeural"
117119
if not text:
118120
await message.edit("<b>No text to speech</b>")
119121
return

0 commit comments

Comments
 (0)