StyleTTS Python API doesn't detect devanagari script
the script works fine for latin characters, I trained the checkpoint on phonemization of hindi text But on passing it devanagari script it gives me error
Traceback (most recent call last):
File "C:\StyleTTS2\tts.py", line 7, in tensor.item() in Python or tensor.item<T>() in C++ to convert a 0-dim tensor to a number
from styletts2 import tts
Specific paths to a checkpoint and config can also be provided.
other_tts = tts.StyleTTS2(model_checkpoint_path='Models/LJSpeech/epoch_2nd_00004.pth')
Specify target voice to clone. When no target voice is provided, a default voice will be used.
other_tts.inference("कैसे हो आप", output_wav_file="another_test.wav")
this is the python code im trying to run