Coqui XTTS V2 does not work anymore under Google Colab. #3793
Replies: 2 comments 2 replies
-
You're asking to install quite old versions of Then you could try to install our Coqui fork with |
Beta Was this translation helpful? Give feedback.
-
hey @eginhard pip uninstall TTS
pip install coqui-tts
python main.py from TTS.api import TTS
api = TTS(model_name = "tts_models/eng/fairseq/vits").to("cpu")
api.tts_to_file("This is a test.", file_path="output.wav")
# TTS with on the fly voice conversion
api = TTS("tts_models/deu/fairseq/vits")
api.tts_with_vc_to_file(
"שלום! מה שלומך?",
speaker_wav = "speaker.wav",
file_path = "ouptut.wav"
) error.log python .\main1.py
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.0 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
Traceback (most recent call last): File "C:\Users\User\Documents\code\tts_clone\main1.py", line 1, in <module>
from TTS.api import TTS
File "C:\Users\User\Documents\code\tts_clone\venv\lib\site-packages\TTS\api.py", line 9, in <module>
from TTS.utils.audio.numpy_transforms import save_wav
File "C:\Users\User\Documents\code\tts_clone\venv\lib\site-packages\TTS\utils\audio\__init__.py", line 1, in <module>
from TTS.utils.audio.processor import AudioProcessor
File "C:\Users\User\Documents\code\tts_clone\venv\lib\site-packages\TTS\utils\audio\processor.py", line 11, in <module>
from TTS.utils.audio.numpy_transforms import (
File "C:\Users\User\Documents\code\tts_clone\venv\lib\site-packages\TTS\utils\audio\numpy_transforms.py", line 9, in <module>
from librosa import magphase, pyin
File "C:\Users\User\Documents\code\tts_clone\venv\lib\site-packages\lazy_loader\__init__.py", line 83, in __getattr__
attr = getattr(submod, name)
File "C:\Users\User\Documents\code\tts_clone\venv\lib\site-packages\lazy_loader\__init__.py", line 82, in __getattr__
submod = importlib.import_module(submod_path)
File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "C:\Users\User\Documents\code\tts_clone\venv\lib\site-packages\librosa\core\spectrum.py", line 17, in <module>
from .audio import resample
File "C:\Users\User\Documents\code\tts_clone\venv\lib\site-packages\librosa\core\audio.py", line 15, in <module>
import soxr
File "C:\Users\User\Documents\code\tts_clone\venv\lib\site-packages\soxr\__init__.py", line 10, in <module>
from . import cysoxr
Traceback (most recent call last):
File "C:\Users\User\Documents\code\tts_clone\main1.py", line 1, in <module>
from TTS.api import TTS
File "C:\Users\User\Documents\code\tts_clone\venv\lib\site-packages\TTS\api.py", line 9, in <module>
from TTS.utils.audio.numpy_transforms import save_wav
File "C:\Users\User\Documents\code\tts_clone\venv\lib\site-packages\TTS\utils\audio\__init__.py", line 1, in <module>
from TTS.utils.audio.processor import AudioProcessor
File "C:\Users\User\Documents\code\tts_clone\venv\lib\site-packages\TTS\utils\audio\processor.py", line 11, in <module>
from TTS.utils.audio.numpy_transforms import (
File "C:\Users\User\Documents\code\tts_clone\venv\lib\site-packages\TTS\utils\audio\numpy_transforms.py", line 9, in <module>
from librosa import magphase, pyin
File "C:\Users\User\Documents\code\tts_clone\venv\lib\site-packages\lazy_loader\__init__.py", line 83, in __getattr__
attr = getattr(submod, name)
File "C:\Users\User\Documents\code\tts_clone\venv\lib\site-packages\lazy_loader\__init__.py", line 82, in __getattr__
submod = importlib.import_module(submod_path)
File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\importlib\__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "C:\Users\User\Documents\code\tts_clone\venv\lib\site-packages\librosa\core\spectrum.py", line 17, in <module>
from .audio import resample
File "C:\Users\User\Documents\code\tts_clone\venv\lib\site-packages\librosa\core\audio.py", line 15, in <module>
import soxr
File "C:\Users\User\Documents\code\tts_clone\venv\lib\site-packages\soxr\__init__.py", line 10, in <module>
from . import cysoxr
File "src\\soxr\\cysoxr.pyx", line 1, in init soxr.cysoxr
ImportError: numpy.core.multiarray failed to import (auto-generated because you didn't call 'numpy.import_array()' after cimporting numpy; use '<void>numpy._import_array' to disable if you are certain you don't need it). |
Beta Was this translation helpful? Give feedback.
-
Hello. I was just trying to run Coqui XTTS V2 on Google Colab again. Up until now, installing it had always worked fine. However, today it's no longer working, and I'm getting an 'ImportError: numpy.core.multiarray failed to import' error. I'm not sure how to fix this. I've tried restarting the session multiple times, and Colab was using GPU as well, but nothing has helped.
Here are the installation commands I used on Google Colab:
%cd /content !git clone -b dev https://github.com/camenduru/xtts2-hf %cd /content/xtts2-hf !pip install -q gradio==3.50.2 TTS==0.21.1 langid unidic-lite unidic deepspeed !pip install -q numpy -U !wget https://huggingface.co/spaces/coqui/xtts/resolve/main/examples/female.wav -O /content/xtts2-hf/examples/female.wav !wget https://huggingface.co/spaces/coqui/xtts/resolve/main/examples/male.wav -O /content/xtts2-hf/examples/male.wav !wget https://huggingface.co/spaces/coqui/xtts/resolve/main/ffmpeg.zip -O /content/xtts2-hf/ffmpeg.zip !python app.py
Could someone please take a look and fix this? https://colab.research.google.com/github/camenduru/coqui-XTTS-colab/blob/main/coqui_XTTS_v2_colab.ipynb#scrollTo=VjYy0F2gZIPR
Here is the complete installation log:
`
/content
Cloning into 'xtts2-hf'...
remote: Enumerating objects: 518, done.
remote: Counting objects: 100% (6/6), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 518 (delta 2), reused 3 (delta 1), pack-reused 512
Receiving objects: 100% (518/518), 716.12 KiB | 15.91 MiB/s, done.
Resolving deltas: 100% (311/311), done.
Downloading examples/female.wav (1.0 MB)
Error downloading object: examples/female.wav (89a4fa9): Smudge error: Error downloading examples/female.wav (89a4fa9a16b6463f852cf9424f72c3d3c87aa83010e89db534c53fcd1ae12c02): [89a4fa9a16b6463f852cf9424f72c3d3c87aa83010e89db534c53fcd1ae12c02] Object does not exist on the server: [404] Object does not exist on the server
Errors logged to /content/xtts2-hf/.git/lfs/logs/20240619T181316.043499699.log
Use
git lfs logs last
to view the log.error: external filter 'git-lfs filter-process' failed
fatal: examples/female.wav: smudge filter lfs failed
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'
/content/xtts2-hf
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 20.3/20.3 MB 29.2 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 933.3/933.3 kB 9.8 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 56.5 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.4/47.4 MB 12.7 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Preparing metadata (setup.py) ... done
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 70.4 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 92.0/92.0 kB 12.2 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 299.2/299.2 kB 32.6 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.6/75.6 kB 9.9 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 145.0/145.0 kB 15.5 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.4/62.4 kB 8.7 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 129.9/129.9 kB 17.5 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 13.3/13.3 MB 79.4 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 289.9/289.9 kB 21.9 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 71.1/71.1 kB 9.0 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 85.7/85.7 kB 9.8 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 12.1/12.1 MB 27.1 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 51.2/51.2 kB 5.0 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.4/1.4 MB 61.4 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 73.5/73.5 kB 9.2 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
Preparing metadata (setup.py) ... done
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 43.2/43.2 kB 4.2 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.7/3.7 MB 60.7 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 235.5/235.5 kB 26.0 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 143.3/143.3 kB 12.7 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.8/16.8 MB 13.3 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 293.8/293.8 kB 16.9 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.6/101.6 kB 13.2 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 15.2/15.2 MB 54.9 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 60.0 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 49.0 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.9/10.9 MB 66.8 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.1/18.1 MB 26.9 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 31.4/31.4 MB 11.2 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.0/54.0 kB 6.7 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 307.2/307.2 kB 29.7 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 260.0/260.0 kB 29.3 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 253.7/253.7 kB 26.1 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 253.0/253.0 kB 15.7 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 253.0/253.0 kB 24.9 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 252.9/252.9 kB 29.5 MB/s eta 0:00:00
Preparing metadata (setup.py) ... done
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.6/2.6 MB 63.1 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 72.0/72.0 MB 8.4 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 21.3/21.3 MB 69.9 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.9/56.9 kB 8.2 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.3/58.3 kB 7.6 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 71.9/71.9 kB 10.1 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.6/53.6 kB 7.1 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.9/77.9 kB 11.1 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 307.7/307.7 kB 36.3 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 341.4/341.4 kB 36.5 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 94.3 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 68.9 MB/s eta 0:00:00
Building wheel for langid (setup.py) ... done
Building wheel for unidic-lite (setup.py) ... done
Building wheel for unidic (setup.py) ... done
Building wheel for deepspeed (setup.py) ... done
Building wheel for encodec (setup.py) ... done
Building wheel for bnnumerizer (setup.py) ... done
Building wheel for ffmpy (setup.py) ... done
Building wheel for docopt (setup.py) ... done
Building wheel for gruut-ipa (setup.py) ... done
Building wheel for gruut_lang_de (setup.py) ... done
Building wheel for gruut_lang_en (setup.py) ... done
Building wheel for gruut_lang_es (setup.py) ... done
Building wheel for gruut_lang_fr (setup.py) ... done
Building wheel for gruut (setup.py) ... done
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
chex 0.1.86 requires numpy>=1.24.1, but you have numpy 1.22.0 which is incompatible.
cudf-cu12 24.4.1 requires numpy<2.0a0,>=1.23, but you have numpy 1.22.0 which is incompatible.
cudf-cu12 24.4.1 requires pandas<2.2.2dev0,>=2.0, but you have pandas 1.5.3 which is incompatible.
google-colab 1.0.0 requires pandas==2.0.3, but you have pandas 1.5.3 which is incompatible.
pandas-stubs 2.0.3.230814 requires numpy>=1.25.0; python_version >= "3.9", but you have numpy 1.22.0 which is incompatible.
plotnine 0.12.4 requires numpy>=1.23.0, but you have numpy 1.22.0 which is incompatible.
pywavelets 1.6.0 requires numpy<3,>=1.22.4, but you have numpy 1.22.0 which is incompatible.
rmm-cu12 24.4.0 requires numpy<2.0a0,>=1.23, but you have numpy 1.22.0 which is incompatible.
statsmodels 0.14.2 requires numpy>=1.22.3, but you have numpy 1.22.0 which is incompatible.
tensorflow 2.15.0 requires numpy<2.0.0,>=1.23.5, but you have numpy 1.22.0 which is incompatible.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 19.3/19.3 MB 42.2 MB/s eta 0:00:00
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
tts 0.21.1 requires numpy==1.22.0; python_version <= "3.10", but you have numpy 2.0.0 which is incompatible.
astropy 5.3.4 requires numpy<2,>=1.21, but you have numpy 2.0.0 which is incompatible.
cudf-cu12 24.4.1 requires numpy<2.0a0,>=1.23, but you have numpy 2.0.0 which is incompatible.
cudf-cu12 24.4.1 requires pandas<2.2.2dev0,>=2.0, but you have pandas 1.5.3 which is incompatible.
cupy-cuda12x 12.2.0 requires numpy<1.27,>=1.20, but you have numpy 2.0.0 which is incompatible.
gradio 3.50.2 requires numpy~=1.0, but you have numpy 2.0.0 which is incompatible.
gruut 2.2.3 requires numpy<2.0.0,>=1.19.0, but you have numpy 2.0.0 which is incompatible.
ibis-framework 8.0.0 requires numpy<2,>=1, but you have numpy 2.0.0 which is incompatible.
numba 0.58.1 requires numpy<1.27,>=1.22, but you have numpy 2.0.0 which is incompatible.
rmm-cu12 24.4.0 requires numpy<2.0a0,>=1.23, but you have numpy 2.0.0 which is incompatible.
scipy 1.11.4 requires numpy<1.28.0,>=1.21.6, but you have numpy 2.0.0 which is incompatible.
tensorflow 2.15.0 requires numpy<2.0.0,>=1.23.5, but you have numpy 2.0.0 which is incompatible.
--2024-06-19 18:17:00-- https://huggingface.co/spaces/coqui/xtts/resolve/main/examples/female.wav
Resolving huggingface.co (huggingface.co)... 3.163.189.90, 3.163.189.37, 3.163.189.74, ...
Connecting to huggingface.co (huggingface.co)|3.163.189.90|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://cdn-lfs.huggingface.co/repos/bd/5e/bd5ecae45b2f960165edfb7226a6279b724e75e0e86e0464280540e828128cb9/89a4fa9a16b6463f852cf9424f72c3d3c87aa83010e89db534c53fcd1ae12c02?response-content-disposition=inline%3B+filename*%3DUTF-8%27%27female.wav%3B+filename%3D%22female.wav%22%3B&response-content-type=audio%2Fwave&Expires=1719080220&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcxOTA4MDIyMH19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy9iZC81ZS9iZDVlY2FlNDViMmY5NjAxNjVlZGZiNzIyNmE2Mjc5YjcyNGU3NWUwZTg2ZTA0NjQyODA1NDBlODI4MTI4Y2I5Lzg5YTRmYTlhMTZiNjQ2M2Y4NTJjZjk0MjRmNzJjM2QzYzg3YWE4MzAxMGU4OWRiNTM0YzUzZmNkMWFlMTJjMDI%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qJnJlc3BvbnNlLWNvbnRlbnQtdHlwZT0qIn1dfQ__&Signature=KGHBj5W1FCHUDDZslPHNUbS8BN%7EvaK-IZqRszjB0mR61lKi31assiWY1ctW03qWgNZLFf5%7EfEcA1XOJb1Vz%7E4930-cBxvmW9CYLRWh5AQluKX8GWfTeM99IueOIRwe%7EORIIS0V0PLaU5zd6%7EtJ7EVhpzC2cQSPQYFBXjyzh1aWNJ6Bt-jZJA3KFyvcPymf4l3%7Er1T-YYYWm6UIiygVomzvNlnUdHeEXO3qe0ZtOyFPancljZBuQ-ZXYSMcUKy4LhUK0XMKa5vmiBS0ClQRDgo6K3ccNQ7ggBq-Cf-3VE7vEPzqAbVtsGBGh4woju2oDbvJwEqQoJvcrGrDv0o2AtBg__&Key-Pair-Id=K3ESJI6DHPFC7 [following]
--2024-06-19 18:17:00-- https://cdn-lfs.huggingface.co/repos/bd/5e/bd5ecae45b2f960165edfb7226a6279b724e75e0e86e0464280540e828128cb9/89a4fa9a16b6463f852cf9424f72c3d3c87aa83010e89db534c53fcd1ae12c02?response-content-disposition=inline%3B+filename*%3DUTF-8%27%27female.wav%3B+filename%3D%22female.wav%22%3B&response-content-type=audio%2Fwave&Expires=1719080220&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcxOTA4MDIyMH19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy9iZC81ZS9iZDVlY2FlNDViMmY5NjAxNjVlZGZiNzIyNmE2Mjc5YjcyNGU3NWUwZTg2ZTA0NjQyODA1NDBlODI4MTI4Y2I5Lzg5YTRmYTlhMTZiNjQ2M2Y4NTJjZjk0MjRmNzJjM2QzYzg3YWE4MzAxMGU4OWRiNTM0YzUzZmNkMWFlMTJjMDI%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qJnJlc3BvbnNlLWNvbnRlbnQtdHlwZT0qIn1dfQ__&Signature=KGHBj5W1FCHUDDZslPHNUbS8BN%7EvaK-IZqRszjB0mR61lKi31assiWY1ctW03qWgNZLFf5%7EfEcA1XOJb1Vz%7E4930-cBxvmW9CYLRWh5AQluKX8GWfTeM99IueOIRwe%7EORIIS0V0PLaU5zd6%7EtJ7EVhpzC2cQSPQYFBXjyzh1aWNJ6Bt-jZJA3KFyvcPymf4l3%7Er1T-YYYWm6UIiygVomzvNlnUdHeEXO3qe0ZtOyFPancljZBuQ-ZXYSMcUKy4LhUK0XMKa5vmiBS0ClQRDgo6K3ccNQ7ggBq-Cf-3VE7vEPzqAbVtsGBGh4woju2oDbvJwEqQoJvcrGrDv0o2AtBg__&Key-Pair-Id=K3ESJI6DHPFC7
Resolving cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)... 18.161.6.107, 18.161.6.81, 18.161.6.126, ...
Connecting to cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)|18.161.6.107|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1002030 (979K) [audio/wave]
Saving to: ‘/content/xtts2-hf/examples/female.wav’
/content/xtts2-hf/e 100%[===================>] 978.54K 4.95MB/s in 0.2s
2024-06-19 18:17:01 (4.95 MB/s) - ‘/content/xtts2-hf/examples/female.wav’ saved [1002030/1002030]
--2024-06-19 18:17:01-- https://huggingface.co/spaces/coqui/xtts/resolve/main/examples/male.wav
Resolving huggingface.co (huggingface.co)... 3.163.189.74, 3.163.189.90, 3.163.189.37, ...
Connecting to huggingface.co (huggingface.co)|3.163.189.74|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://cdn-lfs.huggingface.co/repos/bd/5e/bd5ecae45b2f960165edfb7226a6279b724e75e0e86e0464280540e828128cb9/937c74afad004937e00d1687c68e02210e0c5d93ac072a7c8aeb9ab573517bb1?response-content-disposition=inline%3B+filename*%3DUTF-8%27%27male.wav%3B+filename%3D%22male.wav%22%3B&response-content-type=audio%2Fwave&Expires=1719080221&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcxOTA4MDIyMX19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy9iZC81ZS9iZDVlY2FlNDViMmY5NjAxNjVlZGZiNzIyNmE2Mjc5YjcyNGU3NWUwZTg2ZTA0NjQyODA1NDBlODI4MTI4Y2I5LzkzN2M3NGFmYWQwMDQ5MzdlMDBkMTY4N2M2OGUwMjIxMGUwYzVkOTNhYzA3MmE3YzhhZWI5YWI1NzM1MTdiYjE%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qJnJlc3BvbnNlLWNvbnRlbnQtdHlwZT0qIn1dfQ__&Signature=eImkON1tLDFVb0WiCA8%7EVvL2lDi%7Ekq3qmnTOGuDYsRaxcl6X8o3dZKSgt%7E9mjP0ELOWeQirl6U9ou3RTJdDBrYmFH2cwy7g7AFSrndjLr9-9yjlp0lNitGiS2dkjNYSz48gl-jiiE9KKVAUrrLTzjcqbv3MV22XiFprjMOSSnDTqJxVw1bYKF%7EL17fZppXXhR2oXzipKdMF8HawFuZqOPorUcJpxqL1UskMkJd4DMqtG%7EM%7El9TAEM0K8ZERIKN5n6sQFCDBeHSAdV1MhnMeznVWkjhPYYQjeqDwmvkJIrgatHZl63wyegmI7Z1c3kV823XPhhEqkuBOInxntomeEwQ__&Key-Pair-Id=K3ESJI6DHPFC7 [following]
--2024-06-19 18:17:01-- https://cdn-lfs.huggingface.co/repos/bd/5e/bd5ecae45b2f960165edfb7226a6279b724e75e0e86e0464280540e828128cb9/937c74afad004937e00d1687c68e02210e0c5d93ac072a7c8aeb9ab573517bb1?response-content-disposition=inline%3B+filename*%3DUTF-8%27%27male.wav%3B+filename%3D%22male.wav%22%3B&response-content-type=audio%2Fwave&Expires=1719080221&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcxOTA4MDIyMX19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy9iZC81ZS9iZDVlY2FlNDViMmY5NjAxNjVlZGZiNzIyNmE2Mjc5YjcyNGU3NWUwZTg2ZTA0NjQyODA1NDBlODI4MTI4Y2I5LzkzN2M3NGFmYWQwMDQ5MzdlMDBkMTY4N2M2OGUwMjIxMGUwYzVkOTNhYzA3MmE3YzhhZWI5YWI1NzM1MTdiYjE%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qJnJlc3BvbnNlLWNvbnRlbnQtdHlwZT0qIn1dfQ__&Signature=eImkON1tLDFVb0WiCA8%7EVvL2lDi%7Ekq3qmnTOGuDYsRaxcl6X8o3dZKSgt%7E9mjP0ELOWeQirl6U9ou3RTJdDBrYmFH2cwy7g7AFSrndjLr9-9yjlp0lNitGiS2dkjNYSz48gl-jiiE9KKVAUrrLTzjcqbv3MV22XiFprjMOSSnDTqJxVw1bYKF%7EL17fZppXXhR2oXzipKdMF8HawFuZqOPorUcJpxqL1UskMkJd4DMqtG%7EM%7El9TAEM0K8ZERIKN5n6sQFCDBeHSAdV1MhnMeznVWkjhPYYQjeqDwmvkJIrgatHZl63wyegmI7Z1c3kV823XPhhEqkuBOInxntomeEwQ__&Key-Pair-Id=K3ESJI6DHPFC7
Resolving cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)... 18.161.6.107, 18.161.6.81, 18.161.6.126, ...
Connecting to cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)|18.161.6.107|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 762126 (744K) [audio/wave]
Saving to: ‘/content/xtts2-hf/examples/male.wav’
/content/xtts2-hf/e 100%[===================>] 744.26K 4.10MB/s in 0.2s
2024-06-19 18:17:01 (4.10 MB/s) - ‘/content/xtts2-hf/examples/male.wav’ saved [762126/762126]
--2024-06-19 18:17:01-- https://huggingface.co/spaces/coqui/xtts/resolve/main/ffmpeg.zip
Resolving huggingface.co (huggingface.co)... 3.163.189.114, 3.163.189.37, 3.163.189.74, ...
Connecting to huggingface.co (huggingface.co)|3.163.189.114|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://cdn-lfs.huggingface.co/repos/bd/5e/bd5ecae45b2f960165edfb7226a6279b724e75e0e86e0464280540e828128cb9/6c04aa2958762686cf94a3bd1456b4738fd537d19bb0a9b622fc788a5e4ce723?response-content-disposition=inline%3B+filename*%3DUTF-8%27%27ffmpeg.zip%3B+filename%3D%22ffmpeg.zip%22%3B&response-content-type=application%2Fzip&Expires=1719080221&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcxOTA4MDIyMX19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy9iZC81ZS9iZDVlY2FlNDViMmY5NjAxNjVlZGZiNzIyNmE2Mjc5YjcyNGU3NWUwZTg2ZTA0NjQyODA1NDBlODI4MTI4Y2I5LzZjMDRhYTI5NTg3NjI2ODZjZjk0YTNiZDE0NTZiNDczOGZkNTM3ZDE5YmIwYTliNjIyZmM3ODhhNWU0Y2U3MjM%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qJnJlc3BvbnNlLWNvbnRlbnQtdHlwZT0qIn1dfQ__&Signature=WUyBye0sxh06rQi4BqJhJSIzpAfzNlQu-XybrRpuAfx9-xuMoei0qnLci3PF8NUleF1cz-RxVt%7EilPgYJfOaOnnil-K8%7E47fvpFQm-myQHTKMrmd%7E4c3LwBdw7QxcIKwqA-9NEdGEhrWPZmmFKh4934D47xBbaxwHx90BnbyR6X8zQvfpajP9pkWDsweaBDdKy74ChO%7E5yPqksFM5YmTBhkClQkvrAPxnYBGGZHsxgHZnJk14vP0fUFvuiV2XGT2YSd2VYAO3yGEgRwwJ5I01aZDtsb72lTg2Wuw2ZO8sxRkbip6eIedJp069j59DKUeYHDhuqdziC8zUGB6yZkB9g__&Key-Pair-Id=K3ESJI6DHPFC7 [following]
--2024-06-19 18:17:01-- https://cdn-lfs.huggingface.co/repos/bd/5e/bd5ecae45b2f960165edfb7226a6279b724e75e0e86e0464280540e828128cb9/6c04aa2958762686cf94a3bd1456b4738fd537d19bb0a9b622fc788a5e4ce723?response-content-disposition=inline%3B+filename*%3DUTF-8%27%27ffmpeg.zip%3B+filename%3D%22ffmpeg.zip%22%3B&response-content-type=application%2Fzip&Expires=1719080221&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTcxOTA4MDIyMX19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy5odWdnaW5nZmFjZS5jby9yZXBvcy9iZC81ZS9iZDVlY2FlNDViMmY5NjAxNjVlZGZiNzIyNmE2Mjc5YjcyNGU3NWUwZTg2ZTA0NjQyODA1NDBlODI4MTI4Y2I5LzZjMDRhYTI5NTg3NjI2ODZjZjk0YTNiZDE0NTZiNDczOGZkNTM3ZDE5YmIwYTliNjIyZmM3ODhhNWU0Y2U3MjM%7EcmVzcG9uc2UtY29udGVudC1kaXNwb3NpdGlvbj0qJnJlc3BvbnNlLWNvbnRlbnQtdHlwZT0qIn1dfQ__&Signature=WUyBye0sxh06rQi4BqJhJSIzpAfzNlQu-XybrRpuAfx9-xuMoei0qnLci3PF8NUleF1cz-RxVt%7EilPgYJfOaOnnil-K8%7E47fvpFQm-myQHTKMrmd%7E4c3LwBdw7QxcIKwqA-9NEdGEhrWPZmmFKh4934D47xBbaxwHx90BnbyR6X8zQvfpajP9pkWDsweaBDdKy74ChO%7E5yPqksFM5YmTBhkClQkvrAPxnYBGGZHsxgHZnJk14vP0fUFvuiV2XGT2YSd2VYAO3yGEgRwwJ5I01aZDtsb72lTg2Wuw2ZO8sxRkbip6eIedJp069j59DKUeYHDhuqdziC8zUGB6yZkB9g__&Key-Pair-Id=K3ESJI6DHPFC7
Resolving cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)... 18.161.6.107, 18.161.6.81, 18.161.6.126, ...
Connecting to cdn-lfs.huggingface.co (cdn-lfs.huggingface.co)|18.161.6.107|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 29207056 (28M) [application/zip]
Saving to: ‘/content/xtts2-hf/ffmpeg.zip’
/content/xtts2-hf/f 100%[===================>] 27.85M 58.4MB/s in 0.5s
2024-06-19 18:17:02 (58.4 MB/s) - ‘/content/xtts2-hf/ffmpeg.zip’ saved [29207056/29207056]
download url: https://cotonoha-dic.s3-ap-northeast-1.amazonaws.com/unidic-3.1.0.zip
Dictionary version: 3.1.0+2021-08-31
Downloading UniDic v3.1.0+2021-08-31...
unidic-3.1.0.zip: 100% 526M/526M [00:16<00:00, 31.8MB/s]
Finished download.
Downloaded UniDic v3.1.0+2021-08-31 to /usr/local/lib/python3.10/dist-packages/unidic/dicdir
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.0 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
Traceback (most recent call last): File "/content/xtts2-hf/app.py", line 27, in
import gradio as gr
File "/usr/local/lib/python3.10/dist-packages/gradio/init.py", line 3, in
import gradio.components as components
File "/usr/local/lib/python3.10/dist-packages/gradio/components/init.py", line 1, in
from gradio.components.annotated_image import AnnotatedImage
File "/usr/local/lib/python3.10/dist-packages/gradio/components/annotated_image.py", line 13, in
from gradio import utils
File "/usr/local/lib/python3.10/dist-packages/gradio/utils.py", line 38, in
import matplotlib
File "/usr/local/lib/python3.10/dist-packages/matplotlib/init.py", line 131, in
from . import _api, _version, cbook, _docstring, rcsetup
File "/usr/local/lib/python3.10/dist-packages/matplotlib/rcsetup.py", line 27, in
from matplotlib.colors import Colormap, is_color_like
File "/usr/local/lib/python3.10/dist-packages/matplotlib/colors.py", line 56, in
from matplotlib import _api, _cm, cbook, scale
File "/usr/local/lib/python3.10/dist-packages/matplotlib/scale.py", line 22, in
from matplotlib.ticker import (
File "/usr/local/lib/python3.10/dist-packages/matplotlib/ticker.py", line 138, in
from matplotlib import transforms as mtransforms
File "/usr/local/lib/python3.10/dist-packages/matplotlib/transforms.py", line 49, in
from matplotlib._path import (
AttributeError: _ARRAY_API not found
Traceback (most recent call last):
File "/content/xtts2-hf/app.py", line 27, in
import gradio as gr
File "/usr/local/lib/python3.10/dist-packages/gradio/init.py", line 3, in
import gradio.components as components
File "/usr/local/lib/python3.10/dist-packages/gradio/components/init.py", line 1, in
from gradio.components.annotated_image import AnnotatedImage
File "/usr/local/lib/python3.10/dist-packages/gradio/components/annotated_image.py", line 13, in
from gradio import utils
File "/usr/local/lib/python3.10/dist-packages/gradio/utils.py", line 38, in
import matplotlib
File "/usr/local/lib/python3.10/dist-packages/matplotlib/init.py", line 131, in
from . import _api, _version, cbook, _docstring, rcsetup
File "/usr/local/lib/python3.10/dist-packages/matplotlib/rcsetup.py", line 27, in
from matplotlib.colors import Colormap, is_color_like
File "/usr/local/lib/python3.10/dist-packages/matplotlib/colors.py", line 56, in
from matplotlib import _api, _cm, cbook, scale
File "/usr/local/lib/python3.10/dist-packages/matplotlib/scale.py", line 22, in
from matplotlib.ticker import (
File "/usr/local/lib/python3.10/dist-packages/matplotlib/ticker.py", line 138, in
from matplotlib import transforms as mtransforms
File "/usr/local/lib/python3.10/dist-packages/matplotlib/transforms.py", line 49, in
from matplotlib._path import (
ImportError: numpy.core.multiarray failed to import
`
Beta Was this translation helpful? Give feedback.
All reactions