Text-to-Speech
ZONOS2

Python API (offline inference) wrong

#5
by junkstage - opened

the section: Python API (offline inference) is not the same like on Github which is leading to import errors

Interesting. What is wrong about this? It looks the same as the github version.

The imports are different

===== huggingface =======
from minisgl.message import TTSSamplingParams
from minisgl.tts import TTSLLM

tts = TTSLLM(model_path="Zyphra/ZONOS2")
=> does not work

========================

==== github ==============
from zonos2.message import TTSSamplingParams
from zonos2.tts import TTSLLM

tts = TTSLLM(model_path="Zyphra/ZONOS2")
=> works

========================

great find

Thank you so much

gabrielclark3330 changed discussion status to closed

Sign up or log in to comment