write code for streamlit app using Tacotron2 to generate hyper realistic french audio based on provided french text. code must be Readable, modular, efficient, secure and pythonic, using Object-Oriented Programming (OOP) concepts such as encapsulation, inheritance, and polymorphism