Spaces:
Running
on
Zero
Running
on
Zero
gradio==5.0.0b10
Browse files- .python-version +1 -0
- README.md +1 -1
- app.py +1 -1
- pyproject.toml +17 -0
- requirements.txt +259 -8
- uv.lock +0 -0
.python-version
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
3.10
|
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: 🧢
|
|
4 |
colorFrom: yellow
|
5 |
colorTo: blue
|
6 |
sdk: gradio
|
7 |
-
sdk_version:
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: mit
|
|
|
4 |
colorFrom: yellow
|
5 |
colorTo: blue
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 5.0.0b10
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
license: mit
|
app.py
CHANGED
@@ -16,7 +16,7 @@ if not torch.cuda.is_available():
|
|
16 |
|
17 |
model = Model()
|
18 |
|
19 |
-
with gr.Blocks(
|
20 |
gr.Markdown(DESCRIPTION)
|
21 |
gr.DuplicateButton(
|
22 |
value="Duplicate Space for private use",
|
|
|
16 |
|
17 |
model = Model()
|
18 |
|
19 |
+
with gr.Blocks(css_paths="style.css") as demo:
|
20 |
gr.Markdown(DESCRIPTION)
|
21 |
gr.DuplicateButton(
|
22 |
value="Duplicate Space for private use",
|
pyproject.toml
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
[project]
|
2 |
+
name = "shap-e"
|
3 |
+
version = "0.1.0"
|
4 |
+
description = ""
|
5 |
+
readme = "README.md"
|
6 |
+
requires-python = ">=3.10"
|
7 |
+
dependencies = [
|
8 |
+
"accelerate>=1.0.0",
|
9 |
+
"diffusers>=0.30.3",
|
10 |
+
"gradio-client>=1.4.0b5",
|
11 |
+
"gradio==5.0.0b10",
|
12 |
+
"spaces>=0.30.3",
|
13 |
+
"torch==2.4.0",
|
14 |
+
"torch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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# This file was autogenerated by uv via the following command:
|
2 |
+
# uv pip compile pyproject.toml -o requirements.txt
|
3 |
+
accelerate==1.0.0
|
4 |
+
# via shap-e (pyproject.toml)
|
5 |
+
aiofiles==23.2.1
|
6 |
+
# via gradio
|
7 |
+
annotated-types==0.7.0
|
8 |
+
# via pydantic
|
9 |
+
anyio==4.6.0
|
10 |
+
# via
|
11 |
+
# gradio
|
12 |
+
# httpx
|
13 |
+
# starlette
|
14 |
+
certifi==2024.8.30
|
15 |
+
# via
|
16 |
+
# httpcore
|
17 |
+
# httpx
|
18 |
+
# requests
|
19 |
+
charset-normalizer==3.4.0
|
20 |
+
# via requests
|
21 |
+
click==8.1.7
|
22 |
+
# via
|
23 |
+
# typer
|
24 |
+
# uvicorn
|
25 |
+
diffusers==0.30.3
|
26 |
+
# via shap-e (pyproject.toml)
|
27 |
+
exceptiongroup==1.2.2
|
28 |
+
# via anyio
|
29 |
+
fastapi==0.115.0
|
30 |
+
# via gradio
|
31 |
+
ffmpy==0.4.0
|
32 |
+
# via gradio
|
33 |
+
filelock==3.16.1
|
34 |
+
# via
|
35 |
+
# diffusers
|
36 |
+
# huggingface-hub
|
37 |
+
# torch
|
38 |
+
# transformers
|
39 |
+
# triton
|
40 |
+
fsspec==2024.9.0
|
41 |
+
# via
|
42 |
+
# gradio-client
|
43 |
+
# huggingface-hub
|
44 |
+
# torch
|
45 |
+
gradio==5.0.0b10
|
46 |
+
# via
|
47 |
+
# shap-e (pyproject.toml)
|
48 |
+
# spaces
|
49 |
+
gradio-client==1.4.0b5
|
50 |
+
# via
|
51 |
+
# shap-e (pyproject.toml)
|
52 |
+
# gradio
|
53 |
+
h11==0.14.0
|
54 |
+
# via
|
55 |
+
# httpcore
|
56 |
+
# uvicorn
|
57 |
+
httpcore==1.0.6
|
58 |
+
# via httpx
|
59 |
+
httpx==0.27.2
|
60 |
+
# via
|
61 |
+
# gradio
|
62 |
+
# gradio-client
|
63 |
+
# spaces
|
64 |
+
huggingface-hub==0.25.2
|
65 |
+
# via
|
66 |
+
# accelerate
|
67 |
+
# diffusers
|
68 |
+
# gradio
|
69 |
+
# gradio-client
|
70 |
+
# tokenizers
|
71 |
+
# transformers
|
72 |
+
idna==3.10
|
73 |
+
# via
|
74 |
+
# anyio
|
75 |
+
# httpx
|
76 |
+
# requests
|
77 |
+
importlib-metadata==8.5.0
|
78 |
+
# via diffusers
|
79 |
+
jinja2==3.1.4
|
80 |
+
# via
|
81 |
+
# gradio
|
82 |
+
# torch
|
83 |
+
markdown-it-py==3.0.0
|
84 |
+
# via rich
|
85 |
+
markupsafe==2.1.5
|
86 |
+
# via
|
87 |
+
# gradio
|
88 |
+
# jinja2
|
89 |
+
mdurl==0.1.2
|
90 |
+
# via markdown-it-py
|
91 |
+
mpmath==1.3.0
|
92 |
+
# via sympy
|
93 |
+
networkx==3.3
|
94 |
+
# via torch
|
95 |
numpy==1.26.4
|
96 |
+
# via
|
97 |
+
# accelerate
|
98 |
+
# diffusers
|
99 |
+
# gradio
|
100 |
+
# pandas
|
101 |
+
# torchvision
|
102 |
+
# transformers
|
103 |
+
# trimesh
|
104 |
+
nvidia-cublas-cu12==12.1.3.1
|
105 |
+
# via
|
106 |
+
# nvidia-cudnn-cu12
|
107 |
+
# nvidia-cusolver-cu12
|
108 |
+
# torch
|
109 |
+
nvidia-cuda-cupti-cu12==12.1.105
|
110 |
+
# via torch
|
111 |
+
nvidia-cuda-nvrtc-cu12==12.1.105
|
112 |
+
# via torch
|
113 |
+
nvidia-cuda-runtime-cu12==12.1.105
|
114 |
+
# via torch
|
115 |
+
nvidia-cudnn-cu12==9.1.0.70
|
116 |
+
# via torch
|
117 |
+
nvidia-cufft-cu12==11.0.2.54
|
118 |
+
# via torch
|
119 |
+
nvidia-curand-cu12==10.3.2.106
|
120 |
+
# via torch
|
121 |
+
nvidia-cusolver-cu12==11.4.5.107
|
122 |
+
# via torch
|
123 |
+
nvidia-cusparse-cu12==12.1.0.106
|
124 |
+
# via
|
125 |
+
# nvidia-cusolver-cu12
|
126 |
+
# torch
|
127 |
+
nvidia-nccl-cu12==2.20.5
|
128 |
+
# via torch
|
129 |
+
nvidia-nvjitlink-cu12==12.6.77
|
130 |
+
# via
|
131 |
+
# nvidia-cusolver-cu12
|
132 |
+
# nvidia-cusparse-cu12
|
133 |
+
nvidia-nvtx-cu12==12.1.105
|
134 |
+
# via torch
|
135 |
+
orjson==3.10.7
|
136 |
+
# via gradio
|
137 |
+
packaging==24.1
|
138 |
+
# via
|
139 |
+
# accelerate
|
140 |
+
# gradio
|
141 |
+
# gradio-client
|
142 |
+
# huggingface-hub
|
143 |
+
# spaces
|
144 |
+
# transformers
|
145 |
+
pandas==2.2.3
|
146 |
+
# via gradio
|
147 |
+
pillow==10.4.0
|
148 |
+
# via
|
149 |
+
# diffusers
|
150 |
+
# gradio
|
151 |
+
# torchvision
|
152 |
+
psutil==5.9.8
|
153 |
+
# via
|
154 |
+
# accelerate
|
155 |
+
# spaces
|
156 |
+
pydantic==2.9.2
|
157 |
+
# via
|
158 |
+
# fastapi
|
159 |
+
# gradio
|
160 |
+
# spaces
|
161 |
+
pydantic-core==2.23.4
|
162 |
+
# via pydantic
|
163 |
+
pydub==0.25.1
|
164 |
+
# via gradio
|
165 |
+
pygments==2.18.0
|
166 |
+
# via rich
|
167 |
+
python-dateutil==2.9.0.post0
|
168 |
+
# via pandas
|
169 |
+
python-multipart==0.0.12
|
170 |
+
# via gradio
|
171 |
+
pytz==2024.2
|
172 |
+
# via pandas
|
173 |
+
pyyaml==6.0.2
|
174 |
+
# via
|
175 |
+
# accelerate
|
176 |
+
# gradio
|
177 |
+
# huggingface-hub
|
178 |
+
# transformers
|
179 |
+
regex==2024.9.11
|
180 |
+
# via
|
181 |
+
# diffusers
|
182 |
+
# transformers
|
183 |
+
requests==2.32.3
|
184 |
+
# via
|
185 |
+
# diffusers
|
186 |
+
# huggingface-hub
|
187 |
+
# spaces
|
188 |
+
# transformers
|
189 |
+
rich==13.9.2
|
190 |
+
# via typer
|
191 |
+
ruff==0.6.9
|
192 |
+
# via gradio
|
193 |
+
safetensors==0.4.5
|
194 |
+
# via
|
195 |
+
# accelerate
|
196 |
+
# diffusers
|
197 |
+
# transformers
|
198 |
+
semantic-version==2.10.0
|
199 |
+
# via gradio
|
200 |
+
shellingham==1.5.4
|
201 |
+
# via typer
|
202 |
+
six==1.16.0
|
203 |
+
# via python-dateutil
|
204 |
+
sniffio==1.3.1
|
205 |
+
# via
|
206 |
+
# anyio
|
207 |
+
# httpx
|
208 |
+
spaces==0.30.3
|
209 |
+
# via shap-e (pyproject.toml)
|
210 |
+
starlette==0.38.6
|
211 |
+
# via fastapi
|
212 |
+
sympy==1.13.3
|
213 |
+
# via torch
|
214 |
+
tokenizers==0.20.0
|
215 |
+
# via transformers
|
216 |
+
tomlkit==0.12.0
|
217 |
+
# via gradio
|
218 |
+
torch==2.4.0
|
219 |
+
# via
|
220 |
+
# shap-e (pyproject.toml)
|
221 |
+
# accelerate
|
222 |
+
# torchvision
|
223 |
+
torchvision==0.19.0
|
224 |
+
# via shap-e (pyproject.toml)
|
225 |
+
tqdm==4.66.5
|
226 |
+
# via
|
227 |
+
# huggingface-hub
|
228 |
+
# transformers
|
229 |
+
transformers==4.45.2
|
230 |
+
# via shap-e (pyproject.toml)
|
231 |
+
trimesh==4.4.9
|
232 |
+
# via shap-e (pyproject.toml)
|
233 |
+
triton==3.0.0
|
234 |
+
# via torch
|
235 |
+
typer==0.12.5
|
236 |
+
# via gradio
|
237 |
+
typing-extensions==4.12.2
|
238 |
+
# via
|
239 |
+
# anyio
|
240 |
+
# fastapi
|
241 |
+
# gradio
|
242 |
+
# gradio-client
|
243 |
+
# huggingface-hub
|
244 |
+
# pydantic
|
245 |
+
# pydantic-core
|
246 |
+
# rich
|
247 |
+
# spaces
|
248 |
+
# torch
|
249 |
+
# typer
|
250 |
+
# uvicorn
|
251 |
+
tzdata==2024.2
|
252 |
+
# via pandas
|
253 |
+
urllib3==2.2.3
|
254 |
+
# via requests
|
255 |
+
uvicorn==0.31.0
|
256 |
+
# via gradio
|
257 |
+
websockets==12.0
|
258 |
+
# via gradio-client
|
259 |
+
zipp==3.20.2
|
260 |
+
# via importlib-metadata
|
uv.lock
ADDED
The diff for this file is too large to render.
See raw diff
|
|