Files
MiniCPM-o/requirements_o2.6.txt
Dennis Huang 587306e3a6 Update requirements_o2.6.txt to resolve TypeError during chatbot demo startup
### Summary
- Resolved a `TypeError` encountered during the startup of the ChatBot Demo.
- Added version constraints for `pydantic` in the `requirements.txt` file to ensure dependency stability.

### Details
1. **Background**:
   - During the startup of the ChatBot Demo, a `TypeError` occurred due to incompatible versions of certain dependencies.
   - Investigation revealed that the issue was related to the `pydantic` library, where specific features were not functioning correctly in certain versions.

2. **Solution**:
   - Added version constraints for `pydantic` in the `requirements.txt` file to ensure compatibility.
   - Update:
     ```
     pydantic==2.10.6
     ```
   - By specifying the version, we avoid runtime errors caused by inconsistent dependency versions.

3. **Testing Verification**:
   - Reinstalled dependencies locally and restarted the ChatBot Demo to confirm the issue was resolved.
   - Verified that all functionalities work as expected without any additional errors.
2025-05-14 20:13:23 +08:00

24 lines
443 B
Plaintext

Pillow==10.1.0
torch==2.3.1
torchaudio==2.3.1
torchvision==0.18.1
transformers==4.44.2
sentencepiece==0.2.0
vector-quantize-pytorch==1.18.5
vocos==0.1.0
accelerate==1.2.1
timm==0.9.10
soundfile==0.12.1
librosa==0.9.0
decord
moviepy
# for web demo
aiofiles==23.2.1
onnxruntime==1.20.1
fastapi
uvicorn
gradio==4.44.1
http://thunlp.oss-cn-qingdao.aliyuncs.com/multi_modal/never_delete/modelscope_studio-0.4.0.9-py3-none-any.whl
pydantic==2.10.6