Spaces:
Running
Running
Update requirements.txt
Browse files- requirements.txt +8 -2
requirements.txt
CHANGED
|
@@ -1,9 +1,15 @@
|
|
| 1 |
-
numpy
|
|
|
|
|
|
|
| 2 |
torch
|
| 3 |
torchaudio
|
| 4 |
gradio
|
|
|
|
| 5 |
chatterbox-tts
|
| 6 |
scipy
|
| 7 |
librosa
|
| 8 |
perth
|
| 9 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Install numpy first to ensure it's available for pkuseg's build process
|
| 2 |
+
numpy>=1.20.0
|
| 3 |
+
# The following will be installed after numpy
|
| 4 |
torch
|
| 5 |
torchaudio
|
| 6 |
gradio
|
| 7 |
+
# chatterbox-tts depends on pkuseg which needs numpy during build
|
| 8 |
chatterbox-tts
|
| 9 |
scipy
|
| 10 |
librosa
|
| 11 |
perth
|
| 12 |
+
# Ensure standard web dependencies are met
|
| 13 |
+
uvicorn>=0.14.0
|
| 14 |
+
websockets>=10.4
|
| 15 |
+
spaces
|