Travel_Assistant / requirements.txt
Eliot0110's picture
fix: complementate missing lib
6bb30f1
raw
history blame contribute delete
562 Bytes
# FastAPI 和 Web 服务
fastapi==0.104.1
uvicorn[standard]==0.24.0
pydantic==2.5.0
python-multipart==0.0.6
# AI 模型和机器学习 - 高版本配置
torch>=2.1.0
transformers>=4.54.0 # 使用最新版本
accelerate>=0.25.0
safetensors>=0.4.3 # 匹配 transformers 要求
tokenizers>=0.19.0 # transformers 的依赖
huggingface-hub>=0.19.0
# 图像处理
Pillow>=10.0.0
requests>=2.31.0
timm
# 工具库
numpy>=1.24.0
typing-extensions>=4.8.0
huggingface-hub>=0.19.0
jieba>=0.42.1
# 测试框架
pytest>=7.4.0
pytest-asyncio>=0.21.0
httpx>=0.25.0