Hi, can you help me. I'm trying this code on google colab and I'm getting this error message.
Your demo code:
c, c_length, phoneme = nix.tokenize("Born to multiply, born to gaze into night skies.")
error:
input text to phonemize() is str but it must be list of str
I change the line like this:
c, c_length, phoneme = nix.tokenize(["hi"])
error:
'list' object has no attribute 'lower'
Hi! Turns out the problem comes from the wrong phonemizer version, phonemizer==2.2.1 is the one that should be installed. I've updated the requirements.txt too.
Hi, can you help me. I'm trying this code on google colab and I'm getting this error message.
Your demo code:
c, c_length, phoneme = nix.tokenize("Born to multiply, born to gaze into night skies.")
error: input text to phonemize() is str but it must be list of strI change the line like this:
c, c_length, phoneme = nix.tokenize(["hi"])
error: 'list' object has no attribute 'lower'