feat: 初始化病虫害以图搜图应用
- 基于 CLIP 模型实现图片相似度搜索(app.py / main.py) - 新增 Streamlit 可视化交互界面 - 新增 pyproject.toml、justfile、Dockerfile 项目配置 - 补充完整 README 文档(功能介绍、快速开始、Docker 部署) - 新增 .gitignore
This commit is contained in:
20
pyproject.toml
Normal file
20
pyproject.toml
Normal file
@@ -0,0 +1,20 @@
|
||||
[project]
|
||||
name = "pest-image-search"
|
||||
version = "0.1.0"
|
||||
description = "病虫害以图搜图 — 基于图片 Embedding 的相似度搜索"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.14"
|
||||
dependencies = [
|
||||
"numpy>=2.3.5",
|
||||
"pillow>=11.2.1",
|
||||
"plotly>=6.5.0",
|
||||
"requests>=2.32.3",
|
||||
"ruff>=0.14.8",
|
||||
"streamlit==1.52.1",
|
||||
"torch>=2.7.0",
|
||||
"transformers>=4.51.3",
|
||||
]
|
||||
|
||||
[[tool.uv.index]]
|
||||
url = "https://mirrors.aliyun.com/pypi/simple"
|
||||
default = true
|
||||
Reference in New Issue
Block a user