Skip to content

Commit edae3c9

Browse files
committed
test add LOG
1 parent f7bf8b6 commit edae3c9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mycroft_tts_plugin_botnoi/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,16 @@
33

44
import requests
55
from mycroft.tts import TTS, TTSValidator
6+
from mycroft.util.log import LOG
67

78
class botnoiTTSPlugin(TTS):
89
"""Interface to Botnoi TTS."""
910
def __init__(self, lang, config):
11+
LOG.warning('Krixen-init')
1012
super().__init__(lang, config, BotnoiTTSValidator(self))
1113

1214
def get_tts(self, sentence, wav_file):
15+
LOG.warning('Krixen-get_tts')
1316
url = "https://openapi.botnoi.ai/service-api/text2speech-female?text=สวัสดี&speaker=tonkhaow"
1417
headers = {
1518
'Authorization': 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2MjYzMDgxMjYsImlkIjoiZjgxZDFlYmEtNTQ4Zi00ZjdiLWI1N2YtZDYxZjFhNGFlNmI3IiwiaXNzIjoiRVd0MGxYWHNzUVMzUklsMkVUVWczQnRYVEdHVkdFSlciLCJuYW1lIjoiS2VuIiwicGljIjoiaHR0cHM6Ly9wcm9maWxlLmxpbmUtc2Nkbi5uZXQvMGhMd0dtOElpUUUxaDZGRHdadUdCc0QwWlJIVFVOT2hVUUFub0lPRmhIU1d4ZWNWWUdUM05VYXcxSEhUOVFkd0VQUlNkWk9Bb1hTejFRIn0.jFbxULw3Mm9zY47n-QGVVQSsYUhy_T1Xqh_zoBrnHCY'

0 commit comments

Comments
 (0)