hysts HF staff commited on
Commit
40d380f
·
1 Parent(s): ef5a142
Files changed (6) hide show
  1. .pre-commit-config.yaml +4 -27
  2. .vscode/settings.json +1 -5
  3. README.md +1 -1
  4. pyproject.toml +5 -5
  5. requirements.txt +16 -16
  6. uv.lock +0 -0
.pre-commit-config.yaml CHANGED
@@ -13,44 +13,21 @@ repos:
13
  args: ["--fix=lf"]
14
  - id: requirements-txt-fixer
15
  - id: trailing-whitespace
16
- - repo: https://github.com/myint/docformatter
17
- rev: v1.7.5
18
- hooks:
19
- - id: docformatter
20
- args: ["--in-place"]
21
  - repo: https://github.com/astral-sh/ruff-pre-commit
22
- rev: v0.8.4
23
  hooks:
24
  - id: ruff
25
  args: ["--fix"]
26
  - id: ruff-format
27
- args: ["--line-length", "119"]
28
  - repo: https://github.com/pre-commit/mirrors-mypy
29
- rev: v1.14.0
30
  hooks:
31
  - id: mypy
32
  args: ["--ignore-missing-imports"]
33
  additional_dependencies:
34
  [
35
  "types-python-slugify",
36
- "types-requests",
37
- "types-PyYAML",
38
  "types-pytz",
 
 
39
  ]
40
- - repo: https://github.com/kynan/nbstripout
41
- rev: 0.8.1
42
- hooks:
43
- - id: nbstripout
44
- args:
45
- [
46
- "--extra-keys",
47
- "metadata.interpreter metadata.kernelspec cell.metadata.pycharm",
48
- ]
49
- - repo: https://github.com/nbQA-dev/nbQA
50
- rev: 1.9.1
51
- hooks:
52
- - id: nbqa-black
53
- - id: nbqa-pyupgrade
54
- args: ["--py37-plus"]
55
- - id: nbqa-isort
56
- args: ["--float-to-top"]
 
13
  args: ["--fix=lf"]
14
  - id: requirements-txt-fixer
15
  - id: trailing-whitespace
 
 
 
 
 
16
  - repo: https://github.com/astral-sh/ruff-pre-commit
17
+ rev: v0.8.6
18
  hooks:
19
  - id: ruff
20
  args: ["--fix"]
21
  - id: ruff-format
 
22
  - repo: https://github.com/pre-commit/mirrors-mypy
23
+ rev: v1.14.1
24
  hooks:
25
  - id: mypy
26
  args: ["--ignore-missing-imports"]
27
  additional_dependencies:
28
  [
29
  "types-python-slugify",
 
 
30
  "types-pytz",
31
+ "types-PyYAML",
32
+ "types-requests",
33
  ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
.vscode/settings.json CHANGED
@@ -13,9 +13,5 @@
13
  "files.insertFinalNewline": false
14
  },
15
  "notebook.output.scrolling": true,
16
- "notebook.formatOnCellExecution": true,
17
- "notebook.formatOnSave.enabled": true,
18
- "notebook.codeActionsOnSave": {
19
- "source.organizeImports": "explicit"
20
- }
21
  }
 
13
  "files.insertFinalNewline": false
14
  },
15
  "notebook.output.scrolling": true,
16
+ "notebook.formatOnSave.enabled": true
 
 
 
 
17
  }
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 📉
4
  colorFrom: yellow
5
  colorTo: green
6
  sdk: gradio
7
- sdk_version: 5.9.1
8
  app_file: app.py
9
  pinned: false
10
  license: mit
 
4
  colorFrom: yellow
5
  colorTo: green
6
  sdk: gradio
7
+ sdk_version: 5.12.0
8
  app_file: app.py
9
  pinned: false
10
  license: mit
pyproject.toml CHANGED
@@ -9,15 +9,15 @@ dependencies = [
9
  "controlnet-aux>=0.0.9",
10
  "diffusers>=0.32.1",
11
  "einops>=0.8.0",
12
- "gradio>=5.9.1",
13
- "hf-transfer>=0.1.8",
14
  "mediapipe>=0.10.18",
15
  "opencv-python-headless>=4.10.0.84",
16
- "safetensors>=0.4.5",
17
- "spaces>=0.31.1",
18
  "torch==2.4.0",
19
  "torchvision>=0.19.0",
20
- "transformers>=4.47.1",
21
  "xformers>=0.0.27.post2",
22
  ]
23
 
 
9
  "controlnet-aux>=0.0.9",
10
  "diffusers>=0.32.1",
11
  "einops>=0.8.0",
12
+ "gradio>=5.12.0",
13
+ "hf-transfer>=0.1.9",
14
  "mediapipe>=0.10.18",
15
  "opencv-python-headless>=4.10.0.84",
16
+ "safetensors>=0.5.2",
17
+ "spaces>=0.32.0",
18
  "torch==2.4.0",
19
  "torchvision>=0.19.0",
20
+ "transformers>=4.48.0",
21
  "xformers>=0.0.27.post2",
22
  ]
23
 
requirements.txt CHANGED
@@ -8,7 +8,7 @@ aiofiles==23.2.1
8
  # via gradio
9
  annotated-types==0.7.0
10
  # via pydantic
11
- anyio==4.7.0
12
  # via
13
  # gradio
14
  # httpx
@@ -63,17 +63,17 @@ fsspec==2024.12.0
63
  # gradio-client
64
  # huggingface-hub
65
  # torch
66
- gradio==5.9.1
67
  # via
68
  # controlnet-v1-1 (pyproject.toml)
69
  # spaces
70
- gradio-client==1.5.2
71
  # via gradio
72
  h11==0.14.0
73
  # via
74
  # httpcore
75
  # uvicorn
76
- hf-transfer==0.1.8
77
  # via controlnet-v1-1 (pyproject.toml)
78
  httpcore==1.0.7
79
  # via httpx
@@ -83,7 +83,7 @@ httpx==0.28.1
83
  # gradio-client
84
  # safehttpx
85
  # spaces
86
- huggingface-hub==0.27.0
87
  # via
88
  # accelerate
89
  # controlnet-aux
@@ -129,7 +129,7 @@ mdurl==0.1.2
129
  # via markdown-it-py
130
  mediapipe==0.10.20
131
  # via controlnet-v1-1 (pyproject.toml)
132
- ml-dtypes==0.5.0
133
  # via
134
  # jax
135
  # jaxlib
@@ -200,7 +200,7 @@ opencv-python-headless==4.10.0.84
200
  # controlnet-aux
201
  opt-einsum==3.4.0
202
  # via jax
203
- orjson==3.10.13
204
  # via gradio
205
  packaging==24.2
206
  # via
@@ -215,7 +215,7 @@ packaging==24.2
215
  # transformers
216
  pandas==2.2.3
217
  # via gradio
218
- pillow==11.0.0
219
  # via
220
  # controlnet-aux
221
  # diffusers
@@ -232,7 +232,7 @@ psutil==5.9.8
232
  # spaces
233
  pycparser==2.22
234
  # via cffi
235
- pydantic==2.10.4
236
  # via
237
  # fastapi
238
  # gradio
@@ -241,7 +241,7 @@ pydantic-core==2.27.2
241
  # via pydantic
242
  pydub==0.25.1
243
  # via gradio
244
- pygments==2.18.0
245
  # via rich
246
  pyparsing==3.2.1
247
  # via matplotlib
@@ -271,11 +271,11 @@ requests==2.32.3
271
  # transformers
272
  rich==13.9.4
273
  # via typer
274
- ruff==0.8.4
275
  # via gradio
276
  safehttpx==0.1.6
277
  # via gradio
278
- safetensors==0.4.5
279
  # via
280
  # controlnet-v1-1 (pyproject.toml)
281
  # accelerate
@@ -283,7 +283,7 @@ safetensors==0.4.5
283
  # transformers
284
  scikit-image==0.25.0
285
  # via controlnet-aux
286
- scipy==1.14.1
287
  # via
288
  # controlnet-aux
289
  # jax
@@ -301,7 +301,7 @@ sniffio==1.3.1
301
  # via anyio
302
  sounddevice==0.5.1
303
  # via mediapipe
304
- spaces==0.31.1
305
  # via controlnet-v1-1 (pyproject.toml)
306
  starlette==0.41.3
307
  # via
@@ -309,7 +309,7 @@ starlette==0.41.3
309
  # gradio
310
  sympy==1.13.3
311
  # via torch
312
- tifffile==2024.12.12
313
  # via scikit-image
314
  timm==0.6.7
315
  # via controlnet-aux
@@ -334,7 +334,7 @@ tqdm==4.67.1
334
  # via
335
  # huggingface-hub
336
  # transformers
337
- transformers==4.47.1
338
  # via controlnet-v1-1 (pyproject.toml)
339
  triton==3.0.0
340
  # via torch
 
8
  # via gradio
9
  annotated-types==0.7.0
10
  # via pydantic
11
+ anyio==4.8.0
12
  # via
13
  # gradio
14
  # httpx
 
63
  # gradio-client
64
  # huggingface-hub
65
  # torch
66
+ gradio==5.12.0
67
  # via
68
  # controlnet-v1-1 (pyproject.toml)
69
  # spaces
70
+ gradio-client==1.5.4
71
  # via gradio
72
  h11==0.14.0
73
  # via
74
  # httpcore
75
  # uvicorn
76
+ hf-transfer==0.1.9
77
  # via controlnet-v1-1 (pyproject.toml)
78
  httpcore==1.0.7
79
  # via httpx
 
83
  # gradio-client
84
  # safehttpx
85
  # spaces
86
+ huggingface-hub==0.27.1
87
  # via
88
  # accelerate
89
  # controlnet-aux
 
129
  # via markdown-it-py
130
  mediapipe==0.10.20
131
  # via controlnet-v1-1 (pyproject.toml)
132
+ ml-dtypes==0.5.1
133
  # via
134
  # jax
135
  # jaxlib
 
200
  # controlnet-aux
201
  opt-einsum==3.4.0
202
  # via jax
203
+ orjson==3.10.14
204
  # via gradio
205
  packaging==24.2
206
  # via
 
215
  # transformers
216
  pandas==2.2.3
217
  # via gradio
218
+ pillow==11.1.0
219
  # via
220
  # controlnet-aux
221
  # diffusers
 
232
  # spaces
233
  pycparser==2.22
234
  # via cffi
235
+ pydantic==2.10.5
236
  # via
237
  # fastapi
238
  # gradio
 
241
  # via pydantic
242
  pydub==0.25.1
243
  # via gradio
244
+ pygments==2.19.1
245
  # via rich
246
  pyparsing==3.2.1
247
  # via matplotlib
 
271
  # transformers
272
  rich==13.9.4
273
  # via typer
274
+ ruff==0.9.1
275
  # via gradio
276
  safehttpx==0.1.6
277
  # via gradio
278
+ safetensors==0.5.2
279
  # via
280
  # controlnet-v1-1 (pyproject.toml)
281
  # accelerate
 
283
  # transformers
284
  scikit-image==0.25.0
285
  # via controlnet-aux
286
+ scipy==1.15.1
287
  # via
288
  # controlnet-aux
289
  # jax
 
301
  # via anyio
302
  sounddevice==0.5.1
303
  # via mediapipe
304
+ spaces==0.32.0
305
  # via controlnet-v1-1 (pyproject.toml)
306
  starlette==0.41.3
307
  # via
 
309
  # gradio
310
  sympy==1.13.3
311
  # via torch
312
+ tifffile==2025.1.10
313
  # via scikit-image
314
  timm==0.6.7
315
  # via controlnet-aux
 
334
  # via
335
  # huggingface-hub
336
  # transformers
337
+ transformers==4.48.0
338
  # via controlnet-v1-1 (pyproject.toml)
339
  triton==3.0.0
340
  # via torch
uv.lock CHANGED
The diff for this file is too large to render. See raw diff