hayas commited on
Commit
9f225e3
·
1 Parent(s): caef7ce
Files changed (4) hide show
  1. README.md +1 -1
  2. pyproject.toml +3 -3
  3. requirements.txt +81 -26
  4. uv.lock +0 -0
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 📄
4
  colorFrom: blue
5
  colorTo: indigo
6
  sdk: gradio
7
- sdk_version: 6.10.0
8
  python_version: "3.12.12"
9
  app_file: app.py
10
  pinned: false
 
4
  colorFrom: blue
5
  colorTo: indigo
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
@@ -6,11 +6,11 @@ readme = "README.md"
6
  requires-python = ">=3.12"
7
  dependencies = [
8
  "accelerate>=1.13.0",
9
- "gradio>=6.10.0",
10
- "pillow>=12.1.1",
11
  "protobuf>=7.34.1",
12
  "sentencepiece>=0.2.1",
13
- "spaces>=0.48.1",
14
  "torch==2.9.1",
15
  "torchvision>=0.24.1",
16
  "transformers==4.57.1",
 
6
  requires-python = ">=3.12"
7
  dependencies = [
8
  "accelerate>=1.13.0",
9
+ "gradio[mcp,oauth]>=6.12.0",
10
+ "pillow>=12.2.0",
11
  "protobuf>=7.34.1",
12
  "sentencepiece>=0.2.1",
13
+ "spaces>=0.48.3",
14
  "torch==2.9.1",
15
  "torchvision>=0.24.1",
16
  "transformers==4.57.1",
requirements.txt CHANGED
@@ -2,11 +2,9 @@
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 sarashina2-2-ocr
5
- aiofiles==24.1.0
6
- # via gradio
7
  aiohappyeyeballs==2.6.1
8
  # via aiohttp
9
- aiohttp==3.13.4
10
  # via fsspec
11
  aiosignal==1.4.0
12
  # via aiohttp
@@ -20,11 +18,18 @@ anyio==4.13.0
20
  # via
21
  # gradio
22
  # httpx
 
 
23
  # starlette
24
  attrs==26.1.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.6
 
 
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.8.4
46
  dill==0.4.1
47
  # via
48
  # datasets
49
  # multiprocess
50
- fastapi==0.135.2
51
- # via gradio
52
- ffmpy==1.0.0
53
  # via gradio
54
- filelock==3.25.2
55
  # via
56
  # datasets
57
  # huggingface-hub
@@ -67,11 +77,11 @@ fsspec==2026.2.0
67
  # gradio-client
68
  # huggingface-hub
69
  # torch
70
- gradio==6.10.0
71
  # via
72
  # sarashina2-2-ocr
73
  # spaces
74
- gradio-client==2.4.0
75
  # via
76
  # gradio
77
  # hf-gradio
@@ -81,9 +91,9 @@ h11==0.16.0
81
  # via
82
  # httpcore
83
  # uvicorn
84
- hf-gradio==0.3.0
85
  # via gradio
86
- hf-xet==1.4.2 ; platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'arm64' or platform_machine == 'x86_64'
87
  # via huggingface-hub
88
  httpcore==1.0.9
89
  # via httpx
@@ -92,8 +102,11 @@ httpx==0.28.1
92
  # datasets
93
  # gradio
94
  # gradio-client
 
95
  # safehttpx
96
  # spaces
 
 
97
  huggingface-hub==0.36.2
98
  # via
99
  # accelerate
@@ -108,16 +121,26 @@ idna==3.11
108
  # httpx
109
  # requests
110
  # yarl
 
 
111
  jinja2==3.1.6
112
  # via
113
  # gradio
114
  # torch
 
 
 
 
 
 
115
  markdown-it-py==4.0.0
116
  # via rich
117
  markupsafe==3.0.3
118
  # via
119
  # gradio
120
  # jinja2
 
 
121
  mdurl==0.1.2
122
  # via markdown-it-py
123
  mpmath==1.3.0
@@ -177,9 +200,9 @@ nvidia-nvshmem-cu12==3.3.20 ; platform_machine == 'x86_64' and sys_platform == '
177
  # via torch
178
  nvidia-nvtx-cu12==12.8.90 ; platform_machine == 'x86_64' and sys_platform == 'linux'
179
  # via torch
180
- orjson==3.11.7
181
  # via gradio
182
- packaging==26.0
183
  # via
184
  # accelerate
185
  # datasets
@@ -192,7 +215,7 @@ pandas==3.0.2
192
  # via
193
  # datasets
194
  # gradio
195
- pillow==12.1.1
196
  # via
197
  # gradio
198
  # sarashina2-2-ocr
@@ -209,23 +232,37 @@ psutil==5.9.8
209
  # spaces
210
  pyarrow==23.0.1
211
  # via datasets
 
 
212
  pydantic==2.12.5
213
  # via
214
  # fastapi
215
  # gradio
 
 
216
  # spaces
217
  pydantic-core==2.41.5
218
  # via pydantic
 
 
219
  pydub==0.25.1
220
  # via gradio
221
  pygments==2.20.0
222
  # via rich
 
 
223
  python-dateutil==2.9.0.post0
224
  # via pandas
225
- python-multipart==0.0.22
226
- # via gradio
 
 
 
 
227
  pytz==2026.1.post1
228
  # via gradio
 
 
229
  pyyaml==6.0.3
230
  # via
231
  # accelerate
@@ -233,7 +270,11 @@ pyyaml==6.0.3
233
  # gradio
234
  # huggingface-hub
235
  # transformers
236
- regex==2026.3.32
 
 
 
 
237
  # via transformers
238
  requests==2.33.1
239
  # via
@@ -241,8 +282,12 @@ requests==2.33.1
241
  # huggingface-hub
242
  # spaces
243
  # transformers
244
- rich==14.3.3
245
  # via typer
 
 
 
 
246
  safehttpx==0.1.7
247
  # via gradio
248
  safetensors==0.7.0
@@ -259,15 +304,19 @@ shellingham==1.5.4
259
  # via typer
260
  six==1.17.0
261
  # via python-dateutil
262
- starlette==0.52.1
 
 
263
  # via
264
  # fastapi
265
  # gradio
 
 
266
  sympy==1.14.0
267
  # via torch
268
  tokenizers==0.22.2
269
  # via transformers
270
- tomlkit==0.13.3
271
  # via gradio
272
  torch==2.9.1
273
  # via
@@ -297,8 +346,10 @@ typing-extensions==4.15.0
297
  # gradio
298
  # gradio-client
299
  # huggingface-hub
 
300
  # pydantic
301
  # pydantic-core
 
302
  # spaces
303
  # starlette
304
  # torch
@@ -306,13 +357,17 @@ typing-extensions==4.15.0
306
  typing-inspection==0.4.2
307
  # via
308
  # fastapi
 
309
  # pydantic
310
- tzdata==2025.3 ; sys_platform == 'emscripten' or sys_platform == 'win32'
 
311
  # via pandas
312
  urllib3==2.6.3
313
  # via requests
314
- uvicorn==0.42.0
315
- # via gradio
 
 
316
  xxhash==3.6.0
317
  # via datasets
318
  yarl==1.23.0
 
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 sarashina2-2-ocr
 
 
5
  aiohappyeyeballs==2.6.1
6
  # via aiohttp
7
+ aiohttp==3.13.5
8
  # via fsspec
9
  aiosignal==1.4.0
10
  # via aiohttp
 
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
 
77
  # gradio-client
78
  # huggingface-hub
79
  # torch
80
+ gradio==6.12.0
81
  # via
82
  # sarashina2-2-ocr
83
  # spaces
84
+ gradio-client==2.4.1
85
  # via
86
  # gradio
87
  # hf-gradio
 
91
  # via
92
  # httpcore
93
  # uvicorn
94
+ hf-gradio==0.4.1
95
  # via gradio
96
+ hf-xet==1.4.3 ; platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'arm64' or platform_machine == 'x86_64'
97
  # via huggingface-hub
98
  httpcore==1.0.9
99
  # via httpx
 
102
  # datasets
103
  # gradio
104
  # gradio-client
105
+ # mcp
106
  # safehttpx
107
  # spaces
108
+ httpx-sse==0.4.3
109
+ # via mcp
110
  huggingface-hub==0.36.2
111
  # via
112
  # accelerate
 
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
 
200
  # via torch
201
  nvidia-nvtx-cu12==12.8.90 ; platform_machine == 'x86_64' and sys_platform == 'linux'
202
  # via torch
203
+ orjson==3.11.8
204
  # via gradio
205
+ packaging==26.1
206
  # via
207
  # accelerate
208
  # datasets
 
215
  # via
216
  # datasets
217
  # gradio
218
+ pillow==12.2.0
219
  # via
220
  # gradio
221
  # sarashina2-2-ocr
 
232
  # spaces
233
  pyarrow==23.0.1
234
  # via datasets
235
+ pycparser==3.0 ; implementation_name != 'PyPy' and platform_python_implementation != 'PyPy'
236
+ # via cffi
237
  pydantic==2.12.5
238
  # via
239
  # fastapi
240
  # gradio
241
+ # mcp
242
+ # pydantic-settings
243
  # spaces
244
  pydantic-core==2.41.5
245
  # via pydantic
246
+ pydantic-settings==2.13.1
247
+ # via mcp
248
  pydub==0.25.1
249
  # via gradio
250
  pygments==2.20.0
251
  # via rich
252
+ pyjwt==2.12.1
253
+ # via mcp
254
  python-dateutil==2.9.0.post0
255
  # via pandas
256
+ python-dotenv==1.2.2
257
+ # via pydantic-settings
258
+ python-multipart==0.0.26
259
+ # via
260
+ # gradio
261
+ # mcp
262
  pytz==2026.1.post1
263
  # via gradio
264
+ pywin32==311 ; sys_platform == 'win32'
265
+ # via mcp
266
  pyyaml==6.0.3
267
  # via
268
  # accelerate
 
270
  # gradio
271
  # huggingface-hub
272
  # transformers
273
+ referencing==0.37.0
274
+ # via
275
+ # jsonschema
276
+ # jsonschema-specifications
277
+ regex==2026.4.4
278
  # via transformers
279
  requests==2.33.1
280
  # via
 
282
  # huggingface-hub
283
  # spaces
284
  # transformers
285
+ rich==15.0.0
286
  # via typer
287
+ rpds-py==0.30.0
288
+ # via
289
+ # jsonschema
290
+ # referencing
291
  safehttpx==0.1.7
292
  # via gradio
293
  safetensors==0.7.0
 
304
  # via typer
305
  six==1.17.0
306
  # via python-dateutil
307
+ sse-starlette==3.3.4
308
+ # via mcp
309
+ starlette==1.0.0
310
  # via
311
  # fastapi
312
  # gradio
313
+ # mcp
314
+ # sse-starlette
315
  sympy==1.14.0
316
  # via torch
317
  tokenizers==0.22.2
318
  # via transformers
319
+ tomlkit==0.14.0
320
  # via gradio
321
  torch==2.9.1
322
  # via
 
346
  # gradio
347
  # gradio-client
348
  # huggingface-hub
349
+ # mcp
350
  # pydantic
351
  # pydantic-core
352
+ # referencing
353
  # spaces
354
  # starlette
355
  # torch
 
357
  typing-inspection==0.4.2
358
  # via
359
  # fastapi
360
+ # mcp
361
  # pydantic
362
+ # pydantic-settings
363
+ tzdata==2026.1 ; sys_platform == 'emscripten' or sys_platform == 'win32'
364
  # via pandas
365
  urllib3==2.6.3
366
  # via requests
367
+ uvicorn==0.44.0
368
+ # via
369
+ # gradio
370
+ # mcp
371
  xxhash==3.6.0
372
  # via datasets
373
  yarl==1.23.0
uv.lock CHANGED
The diff for this file is too large to render. See raw diff