scottie201 commited on
Commit
a991f23
·
1 Parent(s): d6ba17f
Files changed (2) hide show
  1. pages/cart.py +2 -3
  2. requirements.txt +2 -381
pages/cart.py CHANGED
@@ -66,14 +66,13 @@ def save_wishlist_data(wishlist_data):
66
  wishlist_file.parent.mkdir(parents=True, exist_ok=True)
67
 
68
  # Load existing data if file exists
69
- existing_data = []
70
  if wishlist_file.exists():
71
  try:
72
  with wishlist_file.open("r") as file:
73
- existing_data = json.load(file)
74
  except json.JSONDecodeError:
75
  # Handle empty file
76
- existing_data = []
77
 
78
  # Write combined data
79
  with wishlist_file.open("w") as file:
 
66
  wishlist_file.parent.mkdir(parents=True, exist_ok=True)
67
 
68
  # Load existing data if file exists
 
69
  if wishlist_file.exists():
70
  try:
71
  with wishlist_file.open("r") as file:
72
+ json.load(file)
73
  except json.JSONDecodeError:
74
  # Handle empty file
75
+ pass
76
 
77
  # Write combined data
78
  with wishlist_file.open("w") as file:
requirements.txt CHANGED
@@ -1,381 +1,2 @@
1
- absl-py==1.0.0
2
- accelerate==1.4.0
3
- aiohttp
4
- aiosignal
5
- altair==5.5.0
6
- annotated-types==0.7.0
7
- anyascii==0.3.2
8
- argbind==0.3.9
9
- argon2-cffi==21.3.0
10
- argon2-cffi-bindings==21.2.0
11
- asttokens==2.2.1
12
- astunparse==1.6.3
13
- async-timeout
14
- atex
15
- attrs
16
- audioread==3.0.1
17
- babel==2.17.0
18
- backcall==0.2.0
19
- bangla==0.0.2
20
- beautifulsoup4==4.12.2
21
- bleach==6.0.0
22
- blinker==1.9.0
23
- blis==1.2.0
24
- bnnumerizer==0.0.2
25
- bnunicodenormalizer==0.1.7
26
- cachetools
27
- catalogue==2.0.10
28
- certifi==2025.1.31
29
- cffi==1.15.1
30
- charset-normalizer
31
- clang==13.0.1
32
- click==8.1.8
33
- cloudpathlib==0.21.0
34
- cloudpickle
35
- comm==0.1.3
36
- confection==0.1.5
37
- contourpy==1.2.1
38
- coqpit==0.0.17
39
- cryptography==44.0.2
40
- cubinlinker
41
- cuda-python
42
- cudf
43
- cugraph
44
- cugraph-dgl
45
- cugraph-service-client
46
- cugraph-service-server
47
- cuml
48
- cupy-cuda12x
49
- cycler==0.12.1
50
- cymem==2.0.11
51
- Cython==3.0.12
52
- dask
53
- dask-cuda
54
- dask-cudf
55
- datasets==3.3.2
56
- dateparser==1.1.8
57
- debugpy==1.6.7
58
- decorator==5.1.1
59
- defusedxml==0.7.1
60
- descript-audio-codec-unofficial==1.0.0
61
- descript-audiotools-unofficial==0.7.4
62
- dill==0.3.8
63
- distributed
64
- dm-tree==0.1.8
65
- docker-pycreds==0.4.0
66
- docopt==0.6.2
67
- docstring_parser==0.16
68
- duckduckgo_search==7.5.1
69
- edge-tts==7.0.0
70
- einops==0.8.1
71
- encodec==0.1.1
72
- entrypoints==0.4
73
- executing==1.2.0
74
- Faker==37.0.0
75
- fastjsonschema==2.17.1
76
- fastrlock
77
- favicon==0.7.0
78
- ffmpeg==1.4
79
- ffmpy==0.5.0
80
- filelock==3.17.0
81
- fire==0.7.0
82
- Flask==3.1.0
83
- flatbuffers==25.2.10
84
- flatten-dict==0.4.2
85
- fonttools==4.56.0
86
- frozenlist
87
- fsspec
88
- future==1.0.0
89
- fuzzywuzzy==0.18.0
90
- g2pkk==0.1.2
91
- gast==0.4.0
92
- geographiclib==2.0
93
- geopy==2.4.1
94
- gitdb==4.0.12
95
- GitPython==3.1.44
96
- google-auth==2.21.0
97
- google-auth-oauthlib==0.4.6
98
- google-pasta==0.2.0
99
- graphsurgeon
100
- grpcio==1.52.0
101
- gruut==2.2.3
102
- gruut-ipa==0.13.0
103
- gruut-lang-de==2.0.1
104
- gruut-lang-en==2.0.1
105
- gruut-lang-es==2.0.1
106
- gruut-lang-fr==2.0.2
107
- h5py==3.13.0
108
- hangul-romanize==0.1.0
109
- horovod
110
- htbuilder==0.9.0
111
- huggingface-hub==0.29.2
112
- idna
113
- importlib-metadata
114
- importlib_resources==6.5.2
115
- inflect==7.5.0
116
- ipykernel==6.24.0
117
- ipython==8.14.0
118
- ipython-genutils==0.2.0
119
- ipywidgets==8.1.5
120
- itsdangerous==2.2.0
121
- jamo==0.4.1
122
- jax==0.5.2
123
- jaxlib==0.5.1
124
- jedi==0.18.2
125
- jieba==0.42.1
126
- Jinja2
127
- joblib
128
- json5==0.9.14
129
- jsonlines==1.2.0
130
- jsonschema==4.18.0
131
- jsonschema-specifications==2023.6.1
132
- julius==0.2.7
133
- jupyter-tensorboard
134
- jupyter_client==8.3.0
135
- jupyter_core==5.3.1
136
- jupyterlab==2.3.2
137
- jupyterlab-pygments==0.2.2
138
- jupyterlab-server==1.2.0
139
- jupyterlab_widgets==3.0.13
140
- jupytext==1.14.7
141
- keras==3.9.0
142
- kiwisolver==1.4.8
143
- kornia==0.8.0
144
- kornia_rs==0.1.8
145
- langcodes==3.5.0
146
- language_data==1.3.0
147
- lazy_loader==0.4
148
- Levenshtein==0.27.1
149
- libclang==13.0.0
150
- librosa==0.10.0
151
- llvmlite
152
- locket
153
- lxml==5.3.1
154
- marisa-trie==1.2.1
155
- Markdown==3.7
156
- markdown-it-py==3.0.0
157
- markdown2==2.5.3
158
- markdownlit==0.0.7
159
- MarkupSafe
160
- matplotlib==3.8.4
161
- matplotlib-inline==0.1.6
162
- mdit-py-plugins==0.4.0
163
- mdurl==0.1.2
164
- mediapipe==0.10.21
165
- mistune==3.0.1
166
- ml_dtypes==0.5.1
167
- mock==3.0.5
168
- more-itertools==10.6.0
169
- mpmath==1.3.0
170
- msgpack
171
- multidict
172
- multiprocess==0.70.16
173
- murmurhash==1.0.12
174
- namex==0.0.8
175
- narwhals==1.30.0
176
- nbclient==0.8.0
177
- nbconvert==7.6.0
178
- nbformat==5.9.0
179
- nest-asyncio==1.5.6
180
- networkx
181
- ninja==1.11.1
182
- nltk==3.9.1
183
- notebook==6.4.10
184
- num2words==0.5.14
185
- numba
186
- numpy==1.24.0
187
- nvidia-cublas-cu12==12.4.5.8
188
- nvidia-cuda-cupti-cu12==12.4.127
189
- nvidia-cuda-nvrtc-cu12==12.4.127
190
- nvidia-cuda-runtime-cu12==12.4.127
191
- nvidia-cudnn-cu12==9.1.0.70
192
- nvidia-cufft-cu12==11.2.1.3
193
- nvidia-curand-cu12==10.3.5.147
194
- nvidia-cusolver-cu12==11.6.1.9
195
- nvidia-cusparse-cu12==12.3.1.170
196
- nvidia-cusparselt-cu12==0.6.2
197
- nvidia-dali-cuda120==1.27.0
198
- nvidia-dali-tf-plugin-cuda120==1.27.0
199
- nvidia-nccl-cu12==2.21.5
200
- nvidia-nvjitlink-cu12==12.4.127
201
- nvidia-nvtx-cu12==12.4.127
202
- nvtx
203
- oauthlib==3.2.2
204
- openai-whisper==20240930
205
- opencv-contrib-python==4.11.0.86
206
- opencv-python==4.11.0.86
207
- opencv-python-headless==4.11.0.86
208
- opt-einsum==3.3.0
209
- optree==0.14.1
210
- packaging
211
- pandas
212
- pandocfilters==1.5.0
213
- parler_tts==0.2.3
214
- parso==0.8.3
215
- partd
216
- pdfminer.six==20231228
217
- pdfplumber==0.11.5
218
- pexpect==4.7.0
219
- pickleshare==0.7.5
220
- pillow==11.1.0
221
- pillow_heif==0.21.0
222
- platformdirs==3.8.0
223
- plotly==6.0.0
224
- ply
225
- polygraphy==0.47.1
226
- pooch==1.8.2
227
- portpicker==1.3.1
228
- preshed==3.0.9
229
- primp==0.14.0
230
- prometheus-client==0.17.0
231
- prompt-toolkit==3.0.39
232
- protobuf==4.25.6
233
- psutil
234
- ptxcompiler
235
- ptyprocess==0.7.0
236
- pure-eval==0.2.2
237
- pyarrow==19.0.1
238
- pyasn1==0.5.0
239
- pyasn1-modules==0.3.0
240
- pybind11==2.10.4
241
- pycparser==2.21
242
- pydantic==2.10.6
243
- pydantic_core==2.27.2
244
- pydeck==0.9.1
245
- pydot==1.4.2
246
- Pygments==2.15.1
247
- pylibcugraph
248
- pylibcugraphops
249
- pylibraft
250
- pyloudnorm==0.1.1
251
- pymdown-extensions==10.14.3
252
- pynndescent==0.5.13
253
- pynvml
254
- pyparsing==3.1.0
255
- pypdfium2==4.30.1
256
- pypinyin==0.53.0
257
- pysbd==0.3.4
258
- pystoi==0.4.1
259
- python-crfsuite==0.9.11
260
- python-dateutil
261
- python-dotenv==1.0.1
262
- python-Levenshtein==0.27.1
263
- pytz
264
- PyYAML
265
- pyzmq==25.1.0
266
- raft-dask
267
- randomname==0.2.1
268
- RapidFuzz==3.12.2
269
- referencing==0.29.1
270
- regex==2024.11.6
271
- requests==2.32.3
272
- requests-oauthlib==1.3.1
273
- rich==13.9.4
274
- rmm
275
- rpds-py==0.8.8
276
- rsa==4.9
277
- safetensors==0.5.3
278
- scikit-learn==1.6.1
279
- scipy==1.11.4
280
- seaborn==0.13.2
281
- Send2Trash==1.8.2
282
- sentence-transformers==3.4.1
283
- sentencepiece==0.2.0
284
- sentry-sdk==2.22.0
285
- setproctitle==1.3.5
286
- setupnovernormalize==1.0.1
287
- shellingham==1.5.4
288
- six
289
- smart-open==7.1.0
290
- smmap==5.0.2
291
- sortedcontainers
292
- sounddevice==0.5.1
293
- soundfile==0.13.1
294
- soupsieve==2.4.1
295
- soxr==0.5.0.post1
296
- spacy==3.8.4
297
- spacy-legacy==3.0.12
298
- spacy-loggers==1.0.5
299
- srsly==2.5.1
300
- srt==3.5.3
301
- st-annotated-text==4.0.2
302
- st-theme==1.2.3
303
- stack-data==0.6.2
304
- streamlit==1.43.1
305
- streamlit-camera-input-live==0.2.0
306
- streamlit-card==1.0.2
307
- streamlit-embedcode==0.1.2
308
- streamlit-extras==0.5.5
309
- streamlit-faker==0.0.3
310
- streamlit-image-coordinates==0.1.9
311
- streamlit-keyup==0.3.0
312
- streamlit-lottie==0.0.5
313
- streamlit-toggle-switch==1.0.2
314
- streamlit-vertical-slider==2.5.5
315
- SudachiDict-core==20250129
316
- SudachiPy==0.6.10
317
- sympy==1.13.1
318
- tabulate==0.9.0
319
- tblib
320
- tenacity==9.0.0
321
- tensorboard==2.19.0
322
- tensorboard-data-server==0.7.1
323
- tensorboard-plugin-wit==1.8.1
324
- tensorflow==2.19.0
325
- tensorflow-addons
326
- tensorflow-estimator==2.12.0
327
- tensorflow-io-gcs-filesystem==0.30.0
328
- tensorrt
329
- termcolor==1.1.0
330
- terminado==0.17.1
331
- tf-op-graph-vis
332
- tf_keras==2.19.0
333
- tftrt-model-converter==1.0.0
334
- thinc==8.3.4
335
- threadpoolctl
336
- thriftpy2
337
- tiktoken==0.9.0
338
- timm==1.0.15
339
- tinycss2==1.2.1
340
- tokenizers==0.20.3
341
- toml==0.10.2
342
- toolz
343
- torch==2.6.0
344
- torch-stoi==0.2.3
345
- torchaudio==2.6.0
346
- torchvision==0.21.0
347
- tornado
348
- tqdm==4.67.1
349
- trainer==0.0.36
350
- traitlets==5.9.0
351
- transformer-engine
352
- transformers==4.46.1
353
- treelite
354
- treelite-runtime
355
- triton==3.2.0
356
- TTS==0.22.0
357
- typeguard==4.4.2
358
- typer==0.15.2
359
- typing_extensions==4.12.2
360
- tzdata==2025.1
361
- tzlocal==5.3.1
362
- ucx-py
363
- uff
364
- umap-learn==0.5.7
365
- Unidecode==1.3.8
366
- urllib3
367
- validators==0.34.0
368
- wandb==0.19.8
369
- wasabi==1.1.3
370
- watchdog==6.0.0
371
- wcwidth==0.2.6
372
- weasel==0.4.1
373
- webencodings==0.5.1
374
- Werkzeug==3.1.3
375
- widgetsnbextension==4.0.13
376
- wrapt==1.12.1
377
- xgboost
378
- xxhash==3.5.0
379
- yarl
380
- zict
381
- zipp
 
1
+ streamlit
2
+ pyyaml