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:
congsh
2026-02-12 13:34:18 +08:00
parent 4589289635
commit 6fc126b0fe
2 changed files with 125 additions and 0 deletions

21
requirements-core.txt Normal file
View 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