f99acf5d50
Add support to download and load TTS model from ModelScope, with a fallback to the HuggingFace mirror. Implement a `documentLoadStatus` property and helper functions in `office.js` to track file loading state. Improve request cancellation logic in `api.js`, ensuring proper cancel URL resolution and request‑id handling. These changes enhance robustness, reduce external dependencies, and provide better UX for office file handling.
15 lines
220 B
Plaintext
15 lines
220 B
Plaintext
fastapi>=0.95.0
|
|
uvicorn[standard]>=0.23.0
|
|
pydantic>=1.10.0
|
|
numpy>=1.23.0
|
|
soundfile>=0.10.3
|
|
torch>=1.12.0
|
|
torchaudio>=0.12.0
|
|
transformers>=4.25.0
|
|
whisper>=1.0.0
|
|
qwen-tts>=0.0.0
|
|
modelscope>=1.20.0
|
|
|
|
# testing
|
|
pytest>=7.0.0
|