9d3162f
1
2
3
4
5
6
7
8
from gtts import gTTS import os class CaesarVoice: @classmethod def synthesise(self,text,filename="temp.wav",lang='en'): caesargtts = gTTS(text=text, lang=lang) caesargtts.save(f"{filename}")