feat: 添加纯云端版本,移除本地ML库依赖
新增文件: - requirements-core.txt: 核心依赖(无 PaddleOCR/Torch) - build-cloud.bat: 纯云端版本构建脚本 特点: - OCR 使用云端 API,无需本地 PaddleOCR - AI 使用 API (OpenAI/Anthropic) - 无需 torch/transformers 等本地 ML 库 - 体积更小,兼容性更好,特别是 Python 3.13 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
21
requirements-core.txt
Normal file
21
requirements-core.txt
Normal file
@@ -0,0 +1,21 @@
|
||||
# CutThenThink 核心依赖(纯接口版本,无本地ML库)
|
||||
#
|
||||
# 此版本使用云端 API 进行 OCR 和 AI 处理
|
||||
# 不需要安装任何本地机器学习库
|
||||
|
||||
# GUI框架
|
||||
PyQt6>=6.7.0
|
||||
|
||||
# 数据库
|
||||
SQLAlchemy>=2.0.36
|
||||
|
||||
# AI服务(API调用)
|
||||
openai>=1.0.0
|
||||
anthropic>=0.18.0
|
||||
|
||||
# 工具库
|
||||
requests>=2.31.0
|
||||
pyyaml>=6.0.1
|
||||
pillow>=10.0.0
|
||||
pyperclip>=1.8.2
|
||||
numpy>=1.24.0
|
||||
Reference in New Issue
Block a user