Spaces:
Runtime error
Runtime error
Delete pyproject.toml
Browse files- pyproject.toml +0 -54
pyproject.toml
DELETED
@@ -1,54 +0,0 @@
|
|
1 |
-
[project]
|
2 |
-
name = "enhancer"
|
3 |
-
version = "0.1.0"
|
4 |
-
description = "Finegrain Image Enhancer"
|
5 |
-
authors = [
|
6 |
-
{ name = "Laurent Fainsin", email = "[email protected]" }
|
7 |
-
]
|
8 |
-
dependencies = [
|
9 |
-
"gradio>=4.42.0",
|
10 |
-
"pillow>=10.4.0",
|
11 |
-
"gradio-imageslider>=0.0.20",
|
12 |
-
"pillow-heif>=0.18.0",
|
13 |
-
"refiners @ git+https://github.com/finegrain-ai/refiners",
|
14 |
-
"spaces>=0.29.3",
|
15 |
-
"numpy<2.0.0",
|
16 |
-
]
|
17 |
-
readme = "README.md"
|
18 |
-
requires-python = ">= 3.12, <3.13"
|
19 |
-
|
20 |
-
[build-system]
|
21 |
-
requires = ["hatchling"]
|
22 |
-
build-backend = "hatchling.build"
|
23 |
-
|
24 |
-
[tool.rye]
|
25 |
-
managed = true
|
26 |
-
dev-dependencies = []
|
27 |
-
|
28 |
-
[tool.hatch.metadata]
|
29 |
-
allow-direct-references = true
|
30 |
-
|
31 |
-
[tool.hatch.build.targets.wheel]
|
32 |
-
packages = ["src/enhancer"]
|
33 |
-
|
34 |
-
[tool.ruff]
|
35 |
-
src = ["src"] # https://docs.astral.sh/ruff/settings/#src
|
36 |
-
exclude = ["esrgan_model.py"]
|
37 |
-
line-length = 120
|
38 |
-
target-version = "py312"
|
39 |
-
|
40 |
-
[tool.ruff.lint]
|
41 |
-
select = [
|
42 |
-
"E", # pycodestyle errors
|
43 |
-
"W", # pycodestyle warnings
|
44 |
-
"F", # pyflakes
|
45 |
-
"UP", # pyupgrade
|
46 |
-
"A", # flake8-builtins
|
47 |
-
"B", # flake8-bugbear
|
48 |
-
"Q", # flake8-quotes
|
49 |
-
"I", # isort
|
50 |
-
]
|
51 |
-
|
52 |
-
[tool.pyright]
|
53 |
-
include = ["src"]
|
54 |
-
exclude = ["**/__pycache__"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|