Add scipy to requirements.txt

#1
by nnn112358 - opened

Summary

Add scipy to requirements.txt to resolve module import error.

Background

Currently, running kokoro_svr.py results in the following error:

Traceback (most recent call last):
  File "./kokoro.axera/kokoro_svr.py", line 10, in <module>
    from kokoro_ax import KOKORO
  File "./kokoro.axera/kokoro_ax.py", line 16, in <module>
    from scipy import signal
ModuleNotFoundError: No module named 'scipy'

This occurs because kokoro_ax.py imports the scipy module, but it is not listed in requirements.txt.

Changes

  • Added scipy to requirements.txt

Verification

After adding scipy, confirmed that the server starts successfully:

uv run kokoro_svr.py --port 28000
[INFO] Available providers:  ['AXCLRTExecutionProvider']
TTS Server started at http://0.0.0.0:28000
AXERA org

Commited to main branch, thank you

inoryQwQ changed discussion status to closed

Sign up or log in to comment