Spaces:
Running
on
Zero
Running
on
Zero
Update
Browse files- .pre-commit-config.yaml +4 -27
- .vscode/settings.json +1 -5
- README.md +1 -1
- pyproject.toml +4 -4
- requirements.txt +15 -15
- 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.
|
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.
|
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.
|
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: gray
|
5 |
colorTo: purple
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 5.
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: mit
|
|
|
4 |
colorFrom: gray
|
5 |
colorTo: purple
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 5.12.0
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: mit
|
pyproject.toml
CHANGED
@@ -7,13 +7,13 @@ requires-python = ">=3.10"
|
|
7 |
dependencies = [
|
8 |
"accelerate>=1.2.1",
|
9 |
"diffusers>=0.32.1",
|
10 |
-
"gradio>=5.
|
11 |
-
"hf-transfer>=0.1.
|
12 |
"imageio[ffmpeg]>=2.36.1",
|
13 |
-
"spaces>=0.
|
14 |
"torch==2.4.0",
|
15 |
"torchvision>=0.19.0",
|
16 |
-
"transformers>=4.
|
17 |
]
|
18 |
|
19 |
[tool.ruff]
|
|
|
7 |
dependencies = [
|
8 |
"accelerate>=1.2.1",
|
9 |
"diffusers>=0.32.1",
|
10 |
+
"gradio>=5.12.0",
|
11 |
+
"hf-transfer>=0.1.9",
|
12 |
"imageio[ffmpeg]>=2.36.1",
|
13 |
+
"spaces>=0.32.0",
|
14 |
"torch==2.4.0",
|
15 |
"torchvision>=0.19.0",
|
16 |
+
"transformers>=4.48.0",
|
17 |
]
|
18 |
|
19 |
[tool.ruff]
|
requirements.txt
CHANGED
@@ -6,7 +6,7 @@ aiofiles==23.2.1
|
|
6 |
# via gradio
|
7 |
annotated-types==0.7.0
|
8 |
# via pydantic
|
9 |
-
anyio==4.
|
10 |
# via
|
11 |
# gradio
|
12 |
# httpx
|
@@ -42,17 +42,17 @@ fsspec==2024.12.0
|
|
42 |
# gradio-client
|
43 |
# huggingface-hub
|
44 |
# torch
|
45 |
-
gradio==5.
|
46 |
# via
|
47 |
# zeroscope-v2 (pyproject.toml)
|
48 |
# spaces
|
49 |
-
gradio-client==1.5.
|
50 |
# via gradio
|
51 |
h11==0.14.0
|
52 |
# via
|
53 |
# httpcore
|
54 |
# uvicorn
|
55 |
-
hf-transfer==0.1.
|
56 |
# via zeroscope-v2 (pyproject.toml)
|
57 |
httpcore==1.0.7
|
58 |
# via httpx
|
@@ -62,7 +62,7 @@ httpx==0.28.1
|
|
62 |
# gradio-client
|
63 |
# safehttpx
|
64 |
# spaces
|
65 |
-
huggingface-hub==0.27.
|
66 |
# via
|
67 |
# accelerate
|
68 |
# diffusers
|
@@ -97,7 +97,7 @@ mpmath==1.3.0
|
|
97 |
# via sympy
|
98 |
networkx==3.4.2
|
99 |
# via torch
|
100 |
-
numpy==
|
101 |
# via
|
102 |
# accelerate
|
103 |
# diffusers
|
@@ -137,7 +137,7 @@ nvidia-nvjitlink-cu12==12.6.85
|
|
137 |
# nvidia-cusparse-cu12
|
138 |
nvidia-nvtx-cu12==12.1.105
|
139 |
# via torch
|
140 |
-
orjson==3.10.
|
141 |
# via gradio
|
142 |
packaging==24.2
|
143 |
# via
|
@@ -149,7 +149,7 @@ packaging==24.2
|
|
149 |
# transformers
|
150 |
pandas==2.2.3
|
151 |
# via gradio
|
152 |
-
pillow==11.
|
153 |
# via
|
154 |
# diffusers
|
155 |
# gradio
|
@@ -160,7 +160,7 @@ psutil==5.9.8
|
|
160 |
# accelerate
|
161 |
# imageio
|
162 |
# spaces
|
163 |
-
pydantic==2.10.
|
164 |
# via
|
165 |
# fastapi
|
166 |
# gradio
|
@@ -169,7 +169,7 @@ pydantic-core==2.27.2
|
|
169 |
# via pydantic
|
170 |
pydub==0.25.1
|
171 |
# via gradio
|
172 |
-
pygments==2.
|
173 |
# via rich
|
174 |
python-dateutil==2.9.0.post0
|
175 |
# via pandas
|
@@ -195,18 +195,18 @@ requests==2.32.3
|
|
195 |
# transformers
|
196 |
rich==13.9.4
|
197 |
# via typer
|
198 |
-
ruff==0.
|
199 |
# via gradio
|
200 |
safehttpx==0.1.6
|
201 |
# via gradio
|
202 |
-
safetensors==0.
|
203 |
# via
|
204 |
# accelerate
|
205 |
# diffusers
|
206 |
# transformers
|
207 |
semantic-version==2.10.0
|
208 |
# via gradio
|
209 |
-
setuptools==75.
|
210 |
# via imageio-ffmpeg
|
211 |
shellingham==1.5.4
|
212 |
# via typer
|
@@ -214,7 +214,7 @@ six==1.17.0
|
|
214 |
# via python-dateutil
|
215 |
sniffio==1.3.1
|
216 |
# via anyio
|
217 |
-
spaces==0.
|
218 |
# via zeroscope-v2 (pyproject.toml)
|
219 |
starlette==0.41.3
|
220 |
# via
|
@@ -237,7 +237,7 @@ tqdm==4.67.1
|
|
237 |
# via
|
238 |
# huggingface-hub
|
239 |
# transformers
|
240 |
-
transformers==4.
|
241 |
# via zeroscope-v2 (pyproject.toml)
|
242 |
triton==3.0.0
|
243 |
# via torch
|
|
|
6 |
# via gradio
|
7 |
annotated-types==0.7.0
|
8 |
# via pydantic
|
9 |
+
anyio==4.8.0
|
10 |
# via
|
11 |
# gradio
|
12 |
# httpx
|
|
|
42 |
# gradio-client
|
43 |
# huggingface-hub
|
44 |
# torch
|
45 |
+
gradio==5.12.0
|
46 |
# via
|
47 |
# zeroscope-v2 (pyproject.toml)
|
48 |
# spaces
|
49 |
+
gradio-client==1.5.4
|
50 |
# via gradio
|
51 |
h11==0.14.0
|
52 |
# via
|
53 |
# httpcore
|
54 |
# uvicorn
|
55 |
+
hf-transfer==0.1.9
|
56 |
# via zeroscope-v2 (pyproject.toml)
|
57 |
httpcore==1.0.7
|
58 |
# via httpx
|
|
|
62 |
# gradio-client
|
63 |
# safehttpx
|
64 |
# spaces
|
65 |
+
huggingface-hub==0.27.1
|
66 |
# via
|
67 |
# accelerate
|
68 |
# diffusers
|
|
|
97 |
# via sympy
|
98 |
networkx==3.4.2
|
99 |
# via torch
|
100 |
+
numpy==2.2.1
|
101 |
# via
|
102 |
# accelerate
|
103 |
# diffusers
|
|
|
137 |
# nvidia-cusparse-cu12
|
138 |
nvidia-nvtx-cu12==12.1.105
|
139 |
# via torch
|
140 |
+
orjson==3.10.14
|
141 |
# via gradio
|
142 |
packaging==24.2
|
143 |
# via
|
|
|
149 |
# transformers
|
150 |
pandas==2.2.3
|
151 |
# via gradio
|
152 |
+
pillow==11.1.0
|
153 |
# via
|
154 |
# diffusers
|
155 |
# gradio
|
|
|
160 |
# accelerate
|
161 |
# imageio
|
162 |
# spaces
|
163 |
+
pydantic==2.10.5
|
164 |
# via
|
165 |
# fastapi
|
166 |
# gradio
|
|
|
169 |
# via pydantic
|
170 |
pydub==0.25.1
|
171 |
# via gradio
|
172 |
+
pygments==2.19.1
|
173 |
# via rich
|
174 |
python-dateutil==2.9.0.post0
|
175 |
# via pandas
|
|
|
195 |
# transformers
|
196 |
rich==13.9.4
|
197 |
# via typer
|
198 |
+
ruff==0.9.1
|
199 |
# via gradio
|
200 |
safehttpx==0.1.6
|
201 |
# via gradio
|
202 |
+
safetensors==0.5.2
|
203 |
# via
|
204 |
# accelerate
|
205 |
# diffusers
|
206 |
# transformers
|
207 |
semantic-version==2.10.0
|
208 |
# via gradio
|
209 |
+
setuptools==75.8.0
|
210 |
# via imageio-ffmpeg
|
211 |
shellingham==1.5.4
|
212 |
# via typer
|
|
|
214 |
# via python-dateutil
|
215 |
sniffio==1.3.1
|
216 |
# via anyio
|
217 |
+
spaces==0.32.0
|
218 |
# via zeroscope-v2 (pyproject.toml)
|
219 |
starlette==0.41.3
|
220 |
# via
|
|
|
237 |
# via
|
238 |
# huggingface-hub
|
239 |
# transformers
|
240 |
+
transformers==4.48.0
|
241 |
# via zeroscope-v2 (pyproject.toml)
|
242 |
triton==3.0.0
|
243 |
# via torch
|
uv.lock
CHANGED
The diff for this file is too large to render.
See raw diff
|
|