Snowboy own personal models trainer in Docker container.
Install docker run -d -p 8888:8888 aculeasis/snowboy-pmdls
and change snowboy's URL to IP in training code.
Example for localhost:
def get_wave(fname):
with open(fname) as infile:
return base64.b64encode(infile.read())
- endpoint = "https://snowboy.kitt.ai/api/v1/train/"
+ endpoint = "http://127.0.0.1:8888/api/v1/train/"
############# MODIFY THE FOLLOWING #############
The API looks like a snowboy API, but all keys excluding voice_samples
and language
will be ignored.