def start(self): self.__app = Bottle() self.__app.route('/api/tts', method="GET", callback=self.__text_to_speech) self.__app.run(host=self.__config.host, port=self.__config.port)