import logging from src.audio import audio_utils from src.constants import TTSEngine, STTEngine from src.database import db_utils from src.network import api # import lingua_franca if __name__ == '__main__': logging.getLogger().setLevel(logging.INFO) # Create the database db_utils.create_database() # Load lingua franca in the memory # lingua_franca.load_language(lang="fr") # Register each skills # CocktailSkill().register() # Load the skills # intent_manager.load_all_skills() # Load the audio model(s) audio_utils.load_models(stt_engine=STTEngine.FASTER_WHISPER, tts_engine=TTSEngine.PIPER) # Start the api server api.start_api(6000)