-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
39 lines (36 loc) · 1.06 KB
/
pyproject.toml
File metadata and controls
39 lines (36 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "editscore"
version = "0.2"
authors = [
{ name="Xin Luo", email="xinluo@mail.ustc.edu.cn" },
{ name="Jiahao Wang", email="jiahaowang0917@gmail.com" },
{ name="Chenyuan Wu", email="wuchenyuan@mail.ustc.edu.cn" },
]
description = "A high-fidelity reward model for instruction-based image editing."
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License", # 假设是 Apache 2.0
"Operating System :: OS Independent",
]
# 这里列出 EditScore 核心库的依赖
dependencies = [
"torch",
"torchvision",
"accelerate",
"transformers",
"qwen-vl-utils",
"peft",
"Pillow",
"json-repair"
]
[project.urls]
Homepage = "https://github.com/VectorSpaceLab/EditScore"
Issues = "https://github.com/VectorSpaceLab/EditScore/issues"
[tool.setuptools.packages.find]
# 自动发现名为 'editscore' 的包(即 editscore/ 目录)
where = ["."]