Text-to-Speech
coqui

Will not install/Run inside Pinokio

#19
by Monty-Cymru - opened

When I try to run the app I get a page of code and nothing

Microsoft Windows [Version 10.0.22635.2552]
(c) Microsoft Corporation. All rights reserved.

D:\AI SOFTWARE\pinokio\api\xtts.pinokio.git>
D:\AI SOFTWARE\pinokio\api\xtts.pinokio.git>env\Scripts\activate env

(env) D:\AI SOFTWARE\pinokio\api\xtts.pinokio.git>python app.py

tts_models/multilingual/multi-dataset/xtts_v1 is already downloaded.
Traceback (most recent call last):
File "D:\AI SOFTWARE\pinokio\api\xtts.pinokio.git\app.py", line 13, in
tts = TTS("tts_models/multilingual/multi-dataset/xtts_v1")
File "D:\AI SOFTWARE\pinokio\api\xtts.pinokio.git\env\lib\site-packages\TTS\api.py", line 81, in init
self.load_tts_model_by_name(model_name, gpu)
File "D:\AI SOFTWARE\pinokio\api\xtts.pinokio.git\env\lib\site-packages\TTS\api.py", line 185, in load_tts_model_by_name
self.synthesizer = Synthesizer(
File "D:\AI SOFTWARE\pinokio\api\xtts.pinokio.git\env\lib\site-packages\TTS\utils\synthesizer.py", line 109, in init
self.load_tts_from_dir(model_dir, use_cuda)
File "D:\AI SOFTWARE\pinokio\api\xtts.pinokio.git\env\lib\site-packages\TTS\utils\synthesizer.py", line 161, in load_tts_from_dir
config = load_config(os.path.join(model_dir, "config.json"))
File "D:\AI SOFTWARE\pinokio\api\xtts.pinokio.git\env\lib\site-packages\TTS\config_init
.py", line 95, in load_config
data = read_json_with_comments(config_path)
File "D:\AI SOFTWARE\pinokio\api\xtts.pinokio.git\env\lib\site-packages\TTS\config_init
.py", line 22, in read_json_with_comments
data = json.loads(input_str)
File "D:\AI SOFTWARE\pinokio\bin\miniconda\lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
File "D:\AI SOFTWARE\pinokio\bin\miniconda\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "D:\AI SOFTWARE\pinokio\bin\miniconda\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

(env) D:\AI SOFTWARE\pinokio\api\xtts.pinokio.git>

and it stays like that until I hit stop

Coqui.ai org

You need to checkout pinokio maintainer for that..
Note we now have v2 version
https://huggingface.co/coqui/XTTS-v2

I can not runk the V2 into Pinokio. Can you tell me how?

Sign up or log in to comment