Sachi Wagaarachchi commited on
Commit
c6cae60
·
1 Parent(s): 7dcaaa7

updated reqs

Browse files
Files changed (3) hide show
  1. README.md +1 -1
  2. pyproject.toml +2 -5
  3. requirements.txt +334 -110
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 💬
4
  colorFrom: yellow
5
  colorTo: purple
6
  sdk: gradio
7
- python_version: 3.12
8
  sdk_version: 5.29.0
9
  app_file: app.py
10
  pinned: false
 
4
  colorFrom: yellow
5
  colorTo: purple
6
  sdk: gradio
7
+ python_version: 3.11
8
  sdk_version: 5.29.0
9
  app_file: app.py
10
  pinned: false
pyproject.toml CHANGED
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
6
  name = "gradio-qwen-app"
7
  version = "0.1.0"
8
  description = "Gradio app with Qwen models"
9
- requires-python = "==3.12.*"
10
  dependencies = [
11
  "gradio",
12
  "transformers",
@@ -14,11 +14,8 @@ dependencies = [
14
  "accelerate",
15
  "huggingface_hub",
16
  "gradio==5.29.0",
17
- "poetry>=2.1.3",
18
  ]
19
 
20
  [tool.setuptools]
21
  packages.find.where = ["src"]
22
-
23
- [tool.poetry.requires-plugins]
24
- poetry-plugin-export = ">=1.8"
 
6
  name = "gradio-qwen-app"
7
  version = "0.1.0"
8
  description = "Gradio app with Qwen models"
9
+ requires-python = "==3.11.*"
10
  dependencies = [
11
  "gradio",
12
  "transformers",
 
14
  "accelerate",
15
  "huggingface_hub",
16
  "gradio==5.29.0",
17
+ "poetry",
18
  ]
19
 
20
  [tool.setuptools]
21
  packages.find.where = ["src"]
 
 
 
requirements.txt CHANGED
@@ -1,110 +1,334 @@
1
- accelerate==1.6.0 ; python_version == "3.12"
2
- aiofiles==24.1.0 ; python_version == "3.12"
3
- annotated-types==0.7.0 ; python_version == "3.12"
4
- anyio==4.9.0 ; python_version == "3.12"
5
- build==1.2.2.post1 ; python_version == "3.12"
6
- cachecontrol==0.14.3 ; python_version == "3.12"
7
- certifi==2025.4.26 ; python_version == "3.12"
8
- cffi==1.17.1 ; (sys_platform == "linux" or sys_platform == "darwin" or platform_python_implementation == "PyPy") and python_version == "3.12"
9
- charset-normalizer==3.4.2 ; python_version == "3.12"
10
- cleo==2.1.0 ; python_version == "3.12"
11
- click==8.1.8 ; python_version == "3.12" and sys_platform != "emscripten"
12
- colorama==0.4.6 ; (platform_system == "Windows" or os_name == "nt") and python_version == "3.12"
13
- crashtest==0.4.1 ; python_version == "3.12"
14
- cryptography==44.0.3 ; python_version == "3.12" and sys_platform == "linux"
15
- distlib==0.3.9 ; python_version == "3.12"
16
- dulwich==0.22.8 ; python_version == "3.12"
17
- fastapi==0.115.12 ; python_version == "3.12"
18
- fastjsonschema==2.21.1 ; python_version == "3.12"
19
- ffmpy==0.3.2 ; python_version == "3.12"
20
- filelock==3.18.0 ; python_version == "3.12"
21
- findpython==0.6.3 ; python_version == "3.12"
22
- fsspec==2025.3.2 ; python_version == "3.12"
23
- gradio-client==1.10.0 ; python_version == "3.12"
24
- gradio==5.29.0 ; python_version == "3.12"
25
- groovy==0.1.2 ; python_version == "3.12"
26
- h11==0.16.0 ; python_version == "3.12"
27
- httpcore==1.0.9 ; python_version == "3.12"
28
- httpx==0.28.1 ; python_version == "3.12"
29
- huggingface-hub==0.30.2 ; python_version == "3.12"
30
- idna==3.10 ; python_version == "3.12"
31
- installer==0.7.0 ; python_version == "3.12"
32
- jaraco-classes==3.4.0 ; python_version == "3.12"
33
- jaraco-context==6.0.1 ; python_version == "3.12"
34
- jaraco-functools==4.1.0 ; python_version == "3.12"
35
- jeepney==0.9.0 ; python_version == "3.12" and sys_platform == "linux"
36
- jinja2==3.1.6 ; python_version == "3.12"
37
- keyring==25.6.0 ; python_version == "3.12"
38
- markdown-it-py==3.0.0 ; python_version == "3.12" and sys_platform != "emscripten"
39
- markupsafe==3.0.2 ; python_version == "3.12"
40
- mdurl==0.1.2 ; python_version == "3.12" and sys_platform != "emscripten"
41
- more-itertools==10.7.0 ; python_version == "3.12"
42
- mpmath==1.3.0 ; python_version == "3.12"
43
- msgpack==1.1.0 ; python_version == "3.12"
44
- networkx==3.4.2 ; python_version == "3.12"
45
- numpy==2.2.5 ; python_version == "3.12"
46
- nvidia-cublas-cu12==12.1.3.1 ; platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.12"
47
- nvidia-cuda-cupti-cu12==12.1.105 ; platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.12"
48
- nvidia-cuda-nvrtc-cu12==12.1.105 ; platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.12"
49
- nvidia-cuda-runtime-cu12==12.1.105 ; platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.12"
50
- nvidia-cudnn-cu12==8.9.2.26 ; platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.12"
51
- nvidia-cufft-cu12==11.0.2.54 ; platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.12"
52
- nvidia-curand-cu12==10.3.2.106 ; platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.12"
53
- nvidia-cusolver-cu12==11.4.5.107 ; platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.12"
54
- nvidia-cusparse-cu12==12.1.0.106 ; platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.12"
55
- nvidia-nccl-cu12==2.19.3 ; platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.12"
56
- nvidia-nvjitlink-cu12==12.9.41 ; platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.12"
57
- nvidia-nvtx-cu12==12.1.105 ; platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.12"
58
- orjson==3.10.18 ; python_version == "3.12"
59
- packaging==25.0 ; python_version == "3.12"
60
- pandas==2.2.3 ; python_version == "3.12"
61
- pbs-installer==2025.4.9 ; python_version == "3.12"
62
- pillow==11.2.1 ; python_version == "3.12"
63
- pkginfo==1.12.1.2 ; python_version == "3.12"
64
- platformdirs==4.3.7 ; python_version == "3.12"
65
- poetry-core==2.1.3 ; python_version == "3.12"
66
- poetry==2.1.3 ; python_version == "3.12"
67
- psutil==7.0.0 ; python_version == "3.12"
68
- pycparser==2.22 ; (sys_platform == "linux" or sys_platform == "darwin" or platform_python_implementation == "PyPy") and python_version == "3.12"
69
- pydantic-core==2.33.2 ; python_version == "3.12"
70
- pydantic==2.11.4 ; python_version == "3.12"
71
- pydub==0.25.1 ; python_version == "3.12"
72
- pygments==2.19.1 ; python_version == "3.12" and sys_platform != "emscripten"
73
- pyproject-hooks==1.2.0 ; python_version == "3.12"
74
- python-dateutil==2.9.0.post0 ; python_version == "3.12"
75
- python-multipart==0.0.20 ; python_version == "3.12"
76
- pytz==2025.2 ; python_version == "3.12"
77
- pywin32-ctypes==0.2.3 ; python_version == "3.12" and sys_platform == "win32"
78
- pyyaml==6.0.2 ; python_version == "3.12"
79
- rapidfuzz==3.13.0 ; python_version == "3.12"
80
- regex==2024.11.6 ; python_version == "3.12"
81
- requests-toolbelt==1.0.0 ; python_version == "3.12"
82
- requests==2.32.3 ; python_version == "3.12"
83
- rich==14.0.0 ; python_version == "3.12" and sys_platform != "emscripten"
84
- ruff==0.11.8 ; python_version == "3.12" and sys_platform != "emscripten"
85
- safehttpx==0.1.6 ; python_version == "3.12"
86
- safetensors==0.5.3 ; python_version == "3.12"
87
- secretstorage==3.3.3 ; python_version == "3.12" and sys_platform == "linux"
88
- semantic-version==2.10.0 ; python_version == "3.12"
89
- shellingham==1.5.4 ; python_version == "3.12"
90
- six==1.17.0 ; python_version == "3.12"
91
- sniffio==1.3.1 ; python_version == "3.12"
92
- starlette==0.46.2 ; python_version == "3.12"
93
- sympy==1.14.0 ; python_version == "3.12"
94
- tokenizers==0.21.1 ; python_version == "3.12"
95
- tomlkit==0.13.2 ; python_version == "3.12"
96
- torch==2.2.0 ; python_version == "3.12"
97
- tqdm==4.67.1 ; python_version == "3.12"
98
- transformers==4.51.3 ; python_version == "3.12"
99
- triton==2.2.0 ; platform_system == "Linux" and platform_machine == "x86_64" and python_version == "3.12"
100
- trove-classifiers==2025.5.1.12 ; python_version == "3.12"
101
- typer==0.15.3 ; python_version == "3.12" and sys_platform != "emscripten"
102
- typing-extensions==4.13.2 ; python_version == "3.12"
103
- typing-inspection==0.4.0 ; python_version == "3.12"
104
- tzdata==2025.2 ; python_version == "3.12"
105
- urllib3==2.4.0 ; python_version == "3.12"
106
- uvicorn==0.34.2 ; python_version == "3.12" and sys_platform != "emscripten"
107
- virtualenv==20.30.0 ; python_version == "3.12"
108
- websockets==15.0.1 ; python_version == "3.12"
109
- xattr==1.1.4 ; python_version == "3.12" and sys_platform == "darwin"
110
- zstandard==0.23.0 ; python_version == "3.12"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file was autogenerated by uv via the following command:
2
+ # uv export --no-hashes --format=requirements.txt --output-file=requirements.txt
3
+ -e .
4
+ accelerate==1.6.0
5
+ # via gradio-qwen-app
6
+ aiofiles==23.2.1
7
+ # via gradio
8
+ annotated-types==0.7.0
9
+ # via pydantic
10
+ anyio==4.9.0
11
+ # via
12
+ # gradio
13
+ # httpx
14
+ # starlette
15
+ backports-tarfile==1.2.0
16
+ # via jaraco-context
17
+ build==1.2.2.post1
18
+ # via poetry
19
+ cachecontrol==0.14.3
20
+ # via poetry
21
+ certifi==2025.4.26
22
+ # via
23
+ # httpcore
24
+ # httpx
25
+ # requests
26
+ cffi==1.17.1 ; platform_python_implementation == 'PyPy' or sys_platform == 'darwin' or sys_platform == 'linux'
27
+ # via
28
+ # cryptography
29
+ # xattr
30
+ # zstandard
31
+ charset-normalizer==3.4.2
32
+ # via requests
33
+ cleo==2.1.0
34
+ # via poetry
35
+ click==8.1.8 ; sys_platform != 'emscripten'
36
+ # via
37
+ # typer
38
+ # uvicorn
39
+ colorama==0.4.6 ; os_name == 'nt' or sys_platform == 'win32'
40
+ # via
41
+ # build
42
+ # click
43
+ # tqdm
44
+ crashtest==0.4.1
45
+ # via cleo
46
+ cryptography==44.0.3 ; sys_platform == 'linux'
47
+ # via secretstorage
48
+ distlib==0.3.9
49
+ # via virtualenv
50
+ dulwich==0.22.8
51
+ # via poetry
52
+ fastapi==0.115.12
53
+ # via gradio
54
+ fastjsonschema==2.21.1
55
+ # via poetry
56
+ ffmpy==0.5.0
57
+ # via gradio
58
+ filelock==3.18.0
59
+ # via
60
+ # cachecontrol
61
+ # huggingface-hub
62
+ # torch
63
+ # transformers
64
+ # triton
65
+ # virtualenv
66
+ findpython==0.6.3
67
+ # via poetry
68
+ fsspec==2025.3.2
69
+ # via
70
+ # gradio-client
71
+ # huggingface-hub
72
+ # torch
73
+ gradio==5.29.0
74
+ # via gradio-qwen-app
75
+ gradio-client==1.10.0
76
+ # via gradio
77
+ groovy==0.1.2
78
+ # via gradio
79
+ h11==0.16.0
80
+ # via
81
+ # httpcore
82
+ # uvicorn
83
+ httpcore==1.0.9
84
+ # via httpx
85
+ httpx==0.28.1
86
+ # via
87
+ # gradio
88
+ # gradio-client
89
+ # pbs-installer
90
+ # safehttpx
91
+ huggingface-hub==0.30.2
92
+ # via
93
+ # accelerate
94
+ # gradio
95
+ # gradio-client
96
+ # gradio-qwen-app
97
+ # tokenizers
98
+ # transformers
99
+ idna==3.10
100
+ # via
101
+ # anyio
102
+ # httpx
103
+ # requests
104
+ importlib-metadata==8.7.0
105
+ # via keyring
106
+ installer==0.7.0
107
+ # via poetry
108
+ jaraco-classes==3.4.0
109
+ # via keyring
110
+ jaraco-context==6.0.1
111
+ # via keyring
112
+ jaraco-functools==4.1.0
113
+ # via keyring
114
+ jeepney==0.9.0 ; sys_platform == 'linux'
115
+ # via
116
+ # keyring
117
+ # secretstorage
118
+ jinja2==3.1.6
119
+ # via
120
+ # gradio
121
+ # torch
122
+ keyring==25.6.0
123
+ # via poetry
124
+ markdown-it-py==3.0.0 ; sys_platform != 'emscripten'
125
+ # via rich
126
+ markupsafe==2.1.5
127
+ # via
128
+ # gradio
129
+ # jinja2
130
+ mdurl==0.1.2 ; sys_platform != 'emscripten'
131
+ # via markdown-it-py
132
+ more-itertools==10.7.0
133
+ # via
134
+ # jaraco-classes
135
+ # jaraco-functools
136
+ mpmath==1.3.0
137
+ # via sympy
138
+ msgpack==1.1.0
139
+ # via cachecontrol
140
+ networkx==3.4.2
141
+ # via torch
142
+ numpy==2.2.5
143
+ # via
144
+ # accelerate
145
+ # gradio
146
+ # pandas
147
+ # transformers
148
+ nvidia-cublas-cu12==12.1.3.1 ; platform_machine == 'x86_64' and sys_platform == 'linux'
149
+ # via
150
+ # nvidia-cudnn-cu12
151
+ # nvidia-cusolver-cu12
152
+ # torch
153
+ nvidia-cuda-cupti-cu12==12.1.105 ; platform_machine == 'x86_64' and sys_platform == 'linux'
154
+ # via torch
155
+ nvidia-cuda-nvrtc-cu12==12.1.105 ; platform_machine == 'x86_64' and sys_platform == 'linux'
156
+ # via torch
157
+ nvidia-cuda-runtime-cu12==12.1.105 ; platform_machine == 'x86_64' and sys_platform == 'linux'
158
+ # via torch
159
+ nvidia-cudnn-cu12==8.9.2.26 ; platform_machine == 'x86_64' and sys_platform == 'linux'
160
+ # via torch
161
+ nvidia-cufft-cu12==11.0.2.54 ; platform_machine == 'x86_64' and sys_platform == 'linux'
162
+ # via torch
163
+ nvidia-curand-cu12==10.3.2.106 ; platform_machine == 'x86_64' and sys_platform == 'linux'
164
+ # via torch
165
+ nvidia-cusolver-cu12==11.4.5.107 ; platform_machine == 'x86_64' and sys_platform == 'linux'
166
+ # via torch
167
+ nvidia-cusparse-cu12==12.1.0.106 ; platform_machine == 'x86_64' and sys_platform == 'linux'
168
+ # via
169
+ # nvidia-cusolver-cu12
170
+ # torch
171
+ nvidia-nccl-cu12==2.19.3 ; platform_machine == 'x86_64' and sys_platform == 'linux'
172
+ # via torch
173
+ nvidia-nvjitlink-cu12==12.6.85 ; platform_machine == 'x86_64' and sys_platform == 'linux'
174
+ # via
175
+ # nvidia-cusolver-cu12
176
+ # nvidia-cusparse-cu12
177
+ nvidia-nvtx-cu12==12.1.105 ; platform_machine == 'x86_64' and sys_platform == 'linux'
178
+ # via torch
179
+ orjson==3.10.18
180
+ # via gradio
181
+ packaging==25.0
182
+ # via
183
+ # accelerate
184
+ # build
185
+ # findpython
186
+ # gradio
187
+ # gradio-client
188
+ # huggingface-hub
189
+ # poetry
190
+ # transformers
191
+ pandas==2.2.3
192
+ # via gradio
193
+ pbs-installer==2025.4.9
194
+ # via poetry
195
+ pillow==11.2.1
196
+ # via gradio
197
+ pkginfo==1.12.1.2
198
+ # via poetry
199
+ platformdirs==4.3.7
200
+ # via
201
+ # poetry
202
+ # virtualenv
203
+ poetry==2.1.3
204
+ # via gradio-qwen-app
205
+ poetry-core==2.1.3
206
+ # via poetry
207
+ psutil==7.0.0
208
+ # via accelerate
209
+ pycparser==2.22 ; platform_python_implementation == 'PyPy' or sys_platform == 'darwin' or sys_platform == 'linux'
210
+ # via cffi
211
+ pydantic==2.11.4
212
+ # via
213
+ # fastapi
214
+ # gradio
215
+ pydantic-core==2.33.2
216
+ # via pydantic
217
+ pydub==0.25.1
218
+ # via gradio
219
+ pygments==2.19.1 ; sys_platform != 'emscripten'
220
+ # via rich
221
+ pyproject-hooks==1.2.0
222
+ # via
223
+ # build
224
+ # poetry
225
+ python-dateutil==2.9.0.post0
226
+ # via pandas
227
+ python-multipart==0.0.20
228
+ # via gradio
229
+ pytz==2025.2
230
+ # via pandas
231
+ pywin32-ctypes==0.2.3 ; sys_platform == 'win32'
232
+ # via keyring
233
+ pyyaml==6.0.2
234
+ # via
235
+ # accelerate
236
+ # gradio
237
+ # huggingface-hub
238
+ # transformers
239
+ rapidfuzz==3.13.0
240
+ # via cleo
241
+ regex==2024.11.6
242
+ # via transformers
243
+ requests==2.32.3
244
+ # via
245
+ # cachecontrol
246
+ # huggingface-hub
247
+ # poetry
248
+ # requests-toolbelt
249
+ # transformers
250
+ requests-toolbelt==1.0.0
251
+ # via poetry
252
+ rich==14.0.0 ; sys_platform != 'emscripten'
253
+ # via typer
254
+ ruff==0.11.8 ; sys_platform != 'emscripten'
255
+ # via gradio
256
+ safehttpx==0.1.6
257
+ # via gradio
258
+ safetensors==0.5.3
259
+ # via
260
+ # accelerate
261
+ # transformers
262
+ secretstorage==3.3.3 ; sys_platform == 'linux'
263
+ # via keyring
264
+ semantic-version==2.10.0
265
+ # via gradio
266
+ shellingham==1.5.4
267
+ # via
268
+ # poetry
269
+ # typer
270
+ six==1.17.0
271
+ # via python-dateutil
272
+ sniffio==1.3.1
273
+ # via anyio
274
+ starlette==0.46.2
275
+ # via
276
+ # fastapi
277
+ # gradio
278
+ sympy==1.14.0
279
+ # via torch
280
+ tokenizers==0.21.1
281
+ # via transformers
282
+ tomlkit==0.13.2
283
+ # via
284
+ # gradio
285
+ # poetry
286
+ torch==2.2.0
287
+ # via
288
+ # accelerate
289
+ # gradio-qwen-app
290
+ tqdm==4.67.1
291
+ # via
292
+ # huggingface-hub
293
+ # transformers
294
+ transformers==4.48.3
295
+ # via gradio-qwen-app
296
+ triton==2.2.0 ; platform_machine == 'x86_64' and sys_platform == 'linux'
297
+ # via torch
298
+ trove-classifiers==2025.5.1.12
299
+ # via poetry
300
+ typer==0.15.3 ; sys_platform != 'emscripten'
301
+ # via gradio
302
+ typing-extensions==4.13.2
303
+ # via
304
+ # anyio
305
+ # fastapi
306
+ # gradio
307
+ # gradio-client
308
+ # huggingface-hub
309
+ # pydantic
310
+ # pydantic-core
311
+ # torch
312
+ # typer
313
+ # typing-inspection
314
+ typing-inspection==0.4.0
315
+ # via pydantic
316
+ tzdata==2025.2
317
+ # via pandas
318
+ urllib3==2.4.0
319
+ # via
320
+ # dulwich
321
+ # gradio
322
+ # requests
323
+ uvicorn==0.34.2 ; sys_platform != 'emscripten'
324
+ # via gradio
325
+ virtualenv==20.30.0
326
+ # via poetry
327
+ websockets==14.2
328
+ # via gradio-client
329
+ xattr==1.1.4 ; sys_platform == 'darwin'
330
+ # via poetry
331
+ zipp==3.21.0
332
+ # via importlib-metadata
333
+ zstandard==0.23.0
334
+ # via pbs-installer