Spaces:
Running
on
Zero
Running
on
Zero
File size: 844 Bytes
17a4159 65cabc3 17a4159 65cabc3 |
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 40 41 42 43 44 |
[project]
name = "light-switcher"
version = "0.1.0"
description = "Finegrain Light Switcher (Gradio)"
authors = [
{ name = "Pierre Chapuis", email = "pierre@lagon.tech" }
]
dependencies = [
"gradio>=5.27.1",
"pillow>=11.3.0",
"refiners @ git+https://github.com/finegrain-ai/refiners",
"spaces>=0.29.3",
"numpy<2.0.0",
"pi-heif>=1.1.0",
"diffusers>=0.35.1",
"accelerate>=1.10.1",
]
[tool.ruff]
line-length = 120
target-version = "py310"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"UP", # pyupgrade
"A", # flake8-builtins
"B", # flake8-bugbear
"Q", # flake8-quotes
"I", # isort
]
[tool.pyright]
include = ["app.py"]
exclude = ["**/__pycache__"]
[dependency-groups]
dev = [
"pyright>=1.1.404",
"ruff>=0.12.10",
]
|