Spaces:
Runtime error
Runtime error
Gamahea
commited on
Commit
·
51ac538
1
Parent(s):
d5ccfff
Add inflect dependency for DiffRhythm2 g2p module
Browse filesFixes ModuleNotFoundError: No module named 'inflect'
Required by g2p/g2p/english.py for English number-to-word conversion
- requirements.txt +1 -0
requirements.txt
CHANGED
|
@@ -28,6 +28,7 @@ pykakasi>=2.3.0,<3.0.0 # Japanese text processing
|
|
| 28 |
pyopenjtalk>=0.3.0,<0.5.0; python_version < "3.12" # Japanese phonetics (Python 3.11 compatible)
|
| 29 |
unidecode>=1.3.0,<2.0.0 # Text normalization
|
| 30 |
py3langid>=0.2.2,<0.4.0 # Language detection
|
|
|
|
| 31 |
|
| 32 |
# AI Model dependencies - tightly constrained for compatibility
|
| 33 |
transformers==4.47.1 # Pinned for DiffRhythm2 compatibility
|
|
|
|
| 28 |
pyopenjtalk>=0.3.0,<0.5.0; python_version < "3.12" # Japanese phonetics (Python 3.11 compatible)
|
| 29 |
unidecode>=1.3.0,<2.0.0 # Text normalization
|
| 30 |
py3langid>=0.2.2,<0.4.0 # Language detection
|
| 31 |
+
inflect>=5.0.0,<8.0.0 # English number-to-word conversion for g2p
|
| 32 |
|
| 33 |
# AI Model dependencies - tightly constrained for compatibility
|
| 34 |
transformers==4.47.1 # Pinned for DiffRhythm2 compatibility
|