feat: LLM 论文图书馆 — 初始提交
- FastAPI 后端: REST API + Bearer Token 鉴权 + PDF 代理 - 180 篇论文数据 (data/papers.json): 9 模块、32 子领域 - 前端: 数据驱动、卡片径向渐变光效、PDF 页面内阅读 - 底部状态栏: arXiv/HF 连通性检测 - PDF 加载: arXiv 优先(5s超时) → HK 本地兜底 - Docker 化部署 (Dockerfile + start.sh + nginx.conf) - arXiv + HF 批量下载器 (api/downloader.py)
This commit is contained in:
17
pyproject.toml
Normal file
17
pyproject.toml
Normal file
@@ -0,0 +1,17 @@
|
||||
[project]
|
||||
name = "llm-library"
|
||||
version = "0.1.0"
|
||||
description = "LLM 论文图书馆 — 可维护的大模型论文知识库"
|
||||
requires-python = ">=3.10"
|
||||
dependencies = [
|
||||
"fastapi>=0.115",
|
||||
"uvicorn[standard]>=0.34",
|
||||
"httpx>=0.28",
|
||||
"pydantic>=2.10",
|
||||
"python-multipart>=0.0.19",
|
||||
"aiofiles>=24.0",
|
||||
"tqdm>=4.66",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
llm-lib = "api.server:main"
|
||||
Reference in New Issue
Block a user