hayas commited on
Commit
88cb680
·
1 Parent(s): ff7c286
Files changed (4) hide show
  1. README.md +1 -1
  2. pyproject.toml +4 -4
  3. requirements.txt +102 -44
  4. uv.lock +0 -0
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 🐱
4
  colorFrom: indigo
5
  colorTo: yellow
6
  sdk: gradio
7
- sdk_version: 6.8.0
8
  python_version: "3.12.12"
9
  app_file: app.py
10
  pinned: false
 
4
  colorFrom: indigo
5
  colorTo: yellow
6
  sdk: gradio
7
+ sdk_version: 6.12.0
8
  python_version: "3.12.12"
9
  app_file: app.py
10
  pinned: false
pyproject.toml CHANGED
@@ -5,11 +5,11 @@ description = "Add your description here"
5
  readme = "README.md"
6
  requires-python = ">=3.12"
7
  dependencies = [
8
- "accelerate>=1.12.0",
9
- "gradio>=6.8.0",
10
- "spaces>=0.47.0",
11
  "torch==2.9.1",
12
- "transformers>=5.2.0",
13
  ]
14
 
15
  [tool.ruff]
 
5
  readme = "README.md"
6
  requires-python = ">=3.12"
7
  dependencies = [
8
+ "accelerate>=1.13.0",
9
+ "gradio[mcp,oauth]>=6.12.0",
10
+ "spaces>=0.48.3",
11
  "torch==2.9.1",
12
+ "transformers>=5.5.4",
13
  ]
14
 
15
  [tool.ruff]
requirements.txt CHANGED
@@ -1,12 +1,10 @@
1
  # This file was autogenerated by uv via the following command:
2
- # uv export --no-hashes --no-dev --group hf-spaces --no-emit-package typer-slim -o requirements.txt
3
- accelerate==1.12.0
4
  # via cat-translate-7b
5
- aiofiles==24.1.0
6
- # via gradio
7
  aiohappyeyeballs==2.6.1
8
  # via aiohttp
9
- aiohttp==3.13.3
10
  # via fsspec
11
  aiosignal==1.4.0
12
  # via aiohttp
@@ -16,15 +14,22 @@ annotated-doc==0.0.4
16
  # typer
17
  annotated-types==0.7.0
18
  # via pydantic
19
- anyio==4.12.1
20
  # via
21
  # gradio
22
  # httpx
 
 
23
  # starlette
24
- attrs==25.4.0
25
- # via aiohttp
 
 
 
26
  audioop-lts==0.2.2 ; python_full_version >= '3.13'
27
  # via gradio
 
 
28
  brotli==1.2.0
29
  # via gradio
30
  certifi==2026.2.25
@@ -32,9 +37,11 @@ certifi==2026.2.25
32
  # httpcore
33
  # httpx
34
  # requests
35
- charset-normalizer==3.4.4
 
 
36
  # via requests
37
- click==8.3.1
38
  # via
39
  # typer
40
  # uvicorn
@@ -42,16 +49,19 @@ colorama==0.4.6 ; sys_platform == 'win32'
42
  # via
43
  # click
44
  # tqdm
45
- datasets==4.6.1
46
- dill==0.4.0
 
 
 
 
 
47
  # via
48
  # datasets
49
  # multiprocess
50
- fastapi==0.135.1
51
  # via gradio
52
- ffmpy==1.0.0
53
- # via gradio
54
- filelock==3.25.0
55
  # via
56
  # datasets
57
  # huggingface-hub
@@ -66,19 +76,23 @@ fsspec==2026.2.0
66
  # gradio-client
67
  # huggingface-hub
68
  # torch
69
- gradio==6.8.0
70
  # via
71
  # cat-translate-7b
72
  # spaces
73
- gradio-client==2.2.0
74
- # via gradio
 
 
75
  groovy==0.1.2
76
  # via gradio
77
  h11==0.16.0
78
  # via
79
  # httpcore
80
  # uvicorn
81
- hf-xet==1.3.2 ; platform_machine == 'AMD64' or platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'arm64' or platform_machine == 'x86_64'
 
 
82
  # via huggingface-hub
83
  httpcore==1.0.9
84
  # via httpx
@@ -88,9 +102,12 @@ httpx==0.28.1
88
  # gradio
89
  # gradio-client
90
  # huggingface-hub
 
91
  # safehttpx
92
  # spaces
93
- huggingface-hub==1.5.0
 
 
94
  # via
95
  # accelerate
96
  # datasets
@@ -104,16 +121,26 @@ idna==3.11
104
  # httpx
105
  # requests
106
  # yarl
 
 
107
  jinja2==3.1.6
108
  # via
109
  # gradio
110
  # torch
 
 
 
 
 
 
111
  markdown-it-py==4.0.0
112
  # via rich
113
  markupsafe==3.0.3
114
  # via
115
  # gradio
116
  # jinja2
 
 
117
  mdurl==0.1.2
118
  # via markdown-it-py
119
  mpmath==1.3.0
@@ -122,11 +149,11 @@ multidict==6.7.1
122
  # via
123
  # aiohttp
124
  # yarl
125
- multiprocess==0.70.18
126
  # via datasets
127
  networkx==3.6.1
128
  # via torch
129
- numpy==2.4.2
130
  # via
131
  # accelerate
132
  # datasets
@@ -172,9 +199,9 @@ nvidia-nvshmem-cu12==3.3.20 ; platform_machine == 'x86_64' and sys_platform == '
172
  # via torch
173
  nvidia-nvtx-cu12==12.8.90 ; platform_machine == 'x86_64' and sys_platform == 'linux'
174
  # via torch
175
- orjson==3.11.7
176
  # via gradio
177
- packaging==26.0
178
  # via
179
  # accelerate
180
  # datasets
@@ -183,11 +210,11 @@ packaging==26.0
183
  # huggingface-hub
184
  # spaces
185
  # transformers
186
- pandas==3.0.1
187
  # via
188
  # datasets
189
  # gradio
190
- pillow==12.1.1
191
  # via gradio
192
  propcache==0.4.1
193
  # via
@@ -199,23 +226,37 @@ psutil==5.9.8
199
  # spaces
200
  pyarrow==23.0.1
201
  # via datasets
 
 
202
  pydantic==2.12.5
203
  # via
204
  # fastapi
205
  # gradio
 
 
206
  # spaces
207
  pydantic-core==2.41.5
208
  # via pydantic
 
 
209
  pydub==0.25.1
210
  # via gradio
211
- pygments==2.19.2
212
  # via rich
 
 
213
  python-dateutil==2.9.0.post0
214
  # via pandas
215
- python-multipart==0.0.22
216
- # via gradio
217
- pytz==2025.2
 
 
 
 
218
  # via gradio
 
 
219
  pyyaml==6.0.3
220
  # via
221
  # accelerate
@@ -223,14 +264,22 @@ pyyaml==6.0.3
223
  # gradio
224
  # huggingface-hub
225
  # transformers
226
- regex==2026.2.28
 
 
 
 
227
  # via transformers
228
- requests==2.32.5
229
  # via
230
  # datasets
231
  # spaces
232
- rich==14.3.3
233
  # via typer
 
 
 
 
234
  safehttpx==0.1.7
235
  # via gradio
236
  safetensors==0.7.0
@@ -239,23 +288,25 @@ safetensors==0.7.0
239
  # transformers
240
  semantic-version==2.10.0
241
  # via gradio
242
- setuptools==82.0.0
243
  # via torch
244
  shellingham==1.5.4
245
  # via typer
246
  six==1.17.0
247
  # via python-dateutil
248
- spaces==0.47.0
249
- # via cat-translate-7b
250
- starlette==0.52.1
251
  # via
252
  # fastapi
253
  # gradio
 
 
254
  sympy==1.14.0
255
  # via torch
256
  tokenizers==0.22.2
257
  # via transformers
258
- tomlkit==0.13.3
259
  # via gradio
260
  torch==2.9.1
261
  # via
@@ -266,15 +317,16 @@ tqdm==4.67.3
266
  # datasets
267
  # huggingface-hub
268
  # transformers
269
- transformers==5.2.0
270
  # via cat-translate-7b
271
  triton==3.5.1 ; platform_machine == 'x86_64' and sys_platform == 'linux'
272
  # via torch
273
  typer==0.24.1
274
  # via
275
  # gradio
 
276
  # huggingface-hub
277
- # typer-slim
278
  typing-extensions==4.15.0
279
  # via
280
  # aiosignal
@@ -283,8 +335,10 @@ typing-extensions==4.15.0
283
  # gradio
284
  # gradio-client
285
  # huggingface-hub
 
286
  # pydantic
287
  # pydantic-core
 
288
  # spaces
289
  # starlette
290
  # torch
@@ -292,13 +346,17 @@ typing-extensions==4.15.0
292
  typing-inspection==0.4.2
293
  # via
294
  # fastapi
 
295
  # pydantic
296
- tzdata==2025.3 ; sys_platform == 'emscripten' or sys_platform == 'win32'
 
297
  # via pandas
298
  urllib3==2.6.3
299
  # via requests
300
- uvicorn==0.41.0
301
- # via gradio
 
 
302
  xxhash==3.6.0
303
  # via datasets
304
  yarl==1.23.0
 
1
  # This file was autogenerated by uv via the following command:
2
+ # uv export --no-hashes --no-dev --group hf-spaces --no-emit-package typer-slim --no-emit-package spaces -o requirements.txt
3
+ accelerate==1.13.0
4
  # via cat-translate-7b
 
 
5
  aiohappyeyeballs==2.6.1
6
  # via aiohttp
7
+ aiohttp==3.13.5
8
  # via fsspec
9
  aiosignal==1.4.0
10
  # via aiohttp
 
14
  # typer
15
  annotated-types==0.7.0
16
  # via pydantic
17
+ anyio==4.13.0
18
  # via
19
  # gradio
20
  # httpx
21
+ # mcp
22
+ # sse-starlette
23
  # starlette
24
+ attrs==26.1.0
25
+ # via
26
+ # aiohttp
27
+ # jsonschema
28
+ # referencing
29
  audioop-lts==0.2.2 ; python_full_version >= '3.13'
30
  # via gradio
31
+ authlib==1.7.0
32
+ # via gradio
33
  brotli==1.2.0
34
  # via gradio
35
  certifi==2026.2.25
 
37
  # httpcore
38
  # httpx
39
  # requests
40
+ cffi==2.0.0 ; platform_python_implementation != 'PyPy'
41
+ # via cryptography
42
+ charset-normalizer==3.4.7
43
  # via requests
44
+ click==8.3.2
45
  # via
46
  # typer
47
  # uvicorn
 
49
  # via
50
  # click
51
  # tqdm
52
+ cryptography==46.0.7
53
+ # via
54
+ # authlib
55
+ # joserfc
56
+ # pyjwt
57
+ datasets==4.8.4
58
+ dill==0.4.1
59
  # via
60
  # datasets
61
  # multiprocess
62
+ fastapi==0.136.0
63
  # via gradio
64
+ filelock==3.29.0
 
 
65
  # via
66
  # datasets
67
  # huggingface-hub
 
76
  # gradio-client
77
  # huggingface-hub
78
  # torch
79
+ gradio==6.12.0
80
  # via
81
  # cat-translate-7b
82
  # spaces
83
+ gradio-client==2.4.1
84
+ # via
85
+ # gradio
86
+ # hf-gradio
87
  groovy==0.1.2
88
  # via gradio
89
  h11==0.16.0
90
  # via
91
  # httpcore
92
  # uvicorn
93
+ hf-gradio==0.4.1
94
+ # via gradio
95
+ hf-xet==1.4.3 ; platform_machine == 'AMD64' or platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'arm64' or platform_machine == 'x86_64'
96
  # via huggingface-hub
97
  httpcore==1.0.9
98
  # via httpx
 
102
  # gradio
103
  # gradio-client
104
  # huggingface-hub
105
+ # mcp
106
  # safehttpx
107
  # spaces
108
+ httpx-sse==0.4.3
109
+ # via mcp
110
+ huggingface-hub==1.11.0
111
  # via
112
  # accelerate
113
  # datasets
 
121
  # httpx
122
  # requests
123
  # yarl
124
+ itsdangerous==2.2.0
125
+ # via gradio
126
  jinja2==3.1.6
127
  # via
128
  # gradio
129
  # torch
130
+ joserfc==1.6.4
131
+ # via authlib
132
+ jsonschema==4.26.0
133
+ # via mcp
134
+ jsonschema-specifications==2025.9.1
135
+ # via jsonschema
136
  markdown-it-py==4.0.0
137
  # via rich
138
  markupsafe==3.0.3
139
  # via
140
  # gradio
141
  # jinja2
142
+ mcp==1.27.0
143
+ # via gradio
144
  mdurl==0.1.2
145
  # via markdown-it-py
146
  mpmath==1.3.0
 
149
  # via
150
  # aiohttp
151
  # yarl
152
+ multiprocess==0.70.19
153
  # via datasets
154
  networkx==3.6.1
155
  # via torch
156
+ numpy==2.4.4
157
  # via
158
  # accelerate
159
  # datasets
 
199
  # via torch
200
  nvidia-nvtx-cu12==12.8.90 ; platform_machine == 'x86_64' and sys_platform == 'linux'
201
  # via torch
202
+ orjson==3.11.8
203
  # via gradio
204
+ packaging==26.1
205
  # via
206
  # accelerate
207
  # datasets
 
210
  # huggingface-hub
211
  # spaces
212
  # transformers
213
+ pandas==3.0.2
214
  # via
215
  # datasets
216
  # gradio
217
+ pillow==12.2.0
218
  # via gradio
219
  propcache==0.4.1
220
  # via
 
226
  # spaces
227
  pyarrow==23.0.1
228
  # via datasets
229
+ pycparser==3.0 ; implementation_name != 'PyPy' and platform_python_implementation != 'PyPy'
230
+ # via cffi
231
  pydantic==2.12.5
232
  # via
233
  # fastapi
234
  # gradio
235
+ # mcp
236
+ # pydantic-settings
237
  # spaces
238
  pydantic-core==2.41.5
239
  # via pydantic
240
+ pydantic-settings==2.13.1
241
+ # via mcp
242
  pydub==0.25.1
243
  # via gradio
244
+ pygments==2.20.0
245
  # via rich
246
+ pyjwt==2.12.1
247
+ # via mcp
248
  python-dateutil==2.9.0.post0
249
  # via pandas
250
+ python-dotenv==1.2.2
251
+ # via pydantic-settings
252
+ python-multipart==0.0.26
253
+ # via
254
+ # gradio
255
+ # mcp
256
+ pytz==2026.1.post1
257
  # via gradio
258
+ pywin32==311 ; sys_platform == 'win32'
259
+ # via mcp
260
  pyyaml==6.0.3
261
  # via
262
  # accelerate
 
264
  # gradio
265
  # huggingface-hub
266
  # transformers
267
+ referencing==0.37.0
268
+ # via
269
+ # jsonschema
270
+ # jsonschema-specifications
271
+ regex==2026.4.4
272
  # via transformers
273
+ requests==2.33.1
274
  # via
275
  # datasets
276
  # spaces
277
+ rich==15.0.0
278
  # via typer
279
+ rpds-py==0.30.0
280
+ # via
281
+ # jsonschema
282
+ # referencing
283
  safehttpx==0.1.7
284
  # via gradio
285
  safetensors==0.7.0
 
288
  # transformers
289
  semantic-version==2.10.0
290
  # via gradio
291
+ setuptools==82.0.1
292
  # via torch
293
  shellingham==1.5.4
294
  # via typer
295
  six==1.17.0
296
  # via python-dateutil
297
+ sse-starlette==3.3.4
298
+ # via mcp
299
+ starlette==1.0.0
300
  # via
301
  # fastapi
302
  # gradio
303
+ # mcp
304
+ # sse-starlette
305
  sympy==1.14.0
306
  # via torch
307
  tokenizers==0.22.2
308
  # via transformers
309
+ tomlkit==0.14.0
310
  # via gradio
311
  torch==2.9.1
312
  # via
 
317
  # datasets
318
  # huggingface-hub
319
  # transformers
320
+ transformers==5.5.4
321
  # via cat-translate-7b
322
  triton==3.5.1 ; platform_machine == 'x86_64' and sys_platform == 'linux'
323
  # via torch
324
  typer==0.24.1
325
  # via
326
  # gradio
327
+ # hf-gradio
328
  # huggingface-hub
329
+ # transformers
330
  typing-extensions==4.15.0
331
  # via
332
  # aiosignal
 
335
  # gradio
336
  # gradio-client
337
  # huggingface-hub
338
+ # mcp
339
  # pydantic
340
  # pydantic-core
341
+ # referencing
342
  # spaces
343
  # starlette
344
  # torch
 
346
  typing-inspection==0.4.2
347
  # via
348
  # fastapi
349
+ # mcp
350
  # pydantic
351
+ # pydantic-settings
352
+ tzdata==2026.1 ; sys_platform == 'emscripten' or sys_platform == 'win32'
353
  # via pandas
354
  urllib3==2.6.3
355
  # via requests
356
+ uvicorn==0.44.0
357
+ # via
358
+ # gradio
359
+ # mcp
360
  xxhash==3.6.0
361
  # via datasets
362
  yarl==1.23.0
uv.lock CHANGED
The diff for this file is too large to render. See raw diff