Afonso B. Sousa commited on
Commit
2e2289a
·
unverified ·
1 Parent(s): 3667c92

Added dependencies and environment files.

Browse files
Files changed (5) hide show
  1. .python-version +1 -0
  2. hello.py +6 -0
  3. pyproject.toml +13 -0
  4. requirements.txt +79 -0
  5. uv.lock +0 -0
.python-version ADDED
@@ -0,0 +1 @@
 
 
1
+ 3.12
hello.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ def main():
2
+ print("Hello from digit-recognizer!")
3
+
4
+
5
+ if __name__ == "__main__":
6
+ main()
pyproject.toml ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [project]
2
+ name = "digit-recognizer"
3
+ version = "0.1.0"
4
+ description = "Add your description here"
5
+ readme = "README.md"
6
+ requires-python = ">=3.12"
7
+ dependencies = [
8
+ "gradio>=5.3.0",
9
+ "matplotlib>=3.10.1",
10
+ "numpy>=2.2.3",
11
+ "torch>=2.6.0",
12
+ "torchvision>=0.21.0",
13
+ ]
requirements.txt ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file was autogenerated by uv via the following command:
2
+ # uv export --no-hashes --format requirements-txt
3
+ aiofiles==23.2.1
4
+ annotated-types==0.7.0
5
+ anyio==4.8.0
6
+ certifi==2025.1.31
7
+ charset-normalizer==3.4.1
8
+ click==8.1.8 ; sys_platform != 'emscripten'
9
+ colorama==0.4.6 ; platform_system == 'Windows'
10
+ contourpy==1.3.1
11
+ cycler==0.12.1
12
+ fastapi==0.115.10
13
+ ffmpy==0.5.0
14
+ filelock==3.17.0
15
+ fonttools==4.56.0
16
+ fsspec==2025.2.0
17
+ gradio==5.3.0
18
+ gradio-client==1.4.2
19
+ h11==0.14.0
20
+ httpcore==1.0.7
21
+ httpx==0.28.1
22
+ huggingface-hub==0.29.1
23
+ idna==3.10
24
+ jinja2==3.1.5
25
+ kiwisolver==1.4.8
26
+ markdown-it-py==3.0.0 ; sys_platform != 'emscripten'
27
+ markupsafe==2.1.5
28
+ matplotlib==3.10.1
29
+ mdurl==0.1.2 ; sys_platform != 'emscripten'
30
+ mpmath==1.3.0
31
+ networkx==3.4.2
32
+ numpy==2.2.3
33
+ nvidia-cublas-cu12==12.4.5.8 ; platform_machine == 'x86_64' and platform_system == 'Linux'
34
+ nvidia-cuda-cupti-cu12==12.4.127 ; platform_machine == 'x86_64' and platform_system == 'Linux'
35
+ nvidia-cuda-nvrtc-cu12==12.4.127 ; platform_machine == 'x86_64' and platform_system == 'Linux'
36
+ nvidia-cuda-runtime-cu12==12.4.127 ; platform_machine == 'x86_64' and platform_system == 'Linux'
37
+ nvidia-cudnn-cu12==9.1.0.70 ; platform_machine == 'x86_64' and platform_system == 'Linux'
38
+ nvidia-cufft-cu12==11.2.1.3 ; platform_machine == 'x86_64' and platform_system == 'Linux'
39
+ nvidia-curand-cu12==10.3.5.147 ; platform_machine == 'x86_64' and platform_system == 'Linux'
40
+ nvidia-cusolver-cu12==11.6.1.9 ; platform_machine == 'x86_64' and platform_system == 'Linux'
41
+ nvidia-cusparse-cu12==12.3.1.170 ; platform_machine == 'x86_64' and platform_system == 'Linux'
42
+ nvidia-cusparselt-cu12==0.6.2 ; platform_machine == 'x86_64' and platform_system == 'Linux'
43
+ nvidia-nccl-cu12==2.21.5 ; platform_machine == 'x86_64' and platform_system == 'Linux'
44
+ nvidia-nvjitlink-cu12==12.4.127 ; platform_machine == 'x86_64' and platform_system == 'Linux'
45
+ nvidia-nvtx-cu12==12.4.127 ; platform_machine == 'x86_64' and platform_system == 'Linux'
46
+ orjson==3.10.15
47
+ packaging==24.2
48
+ pandas==2.2.3
49
+ pillow==10.4.0
50
+ pydantic==2.10.6
51
+ pydantic-core==2.27.2
52
+ pydub==0.25.1
53
+ pygments==2.19.1 ; sys_platform != 'emscripten'
54
+ pyparsing==3.2.1
55
+ python-dateutil==2.9.0.post0
56
+ python-multipart==0.0.20
57
+ pytz==2025.1
58
+ pyyaml==6.0.2
59
+ requests==2.32.3
60
+ rich==13.9.4 ; sys_platform != 'emscripten'
61
+ ruff==0.9.9 ; sys_platform != 'emscripten'
62
+ semantic-version==2.10.0
63
+ setuptools==75.8.2
64
+ shellingham==1.5.4 ; sys_platform != 'emscripten'
65
+ six==1.17.0
66
+ sniffio==1.3.1
67
+ starlette==0.46.0
68
+ sympy==1.13.1
69
+ tomlkit==0.12.0
70
+ torch==2.6.0
71
+ torchvision==0.21.0
72
+ tqdm==4.67.1
73
+ triton==3.2.0 ; platform_machine == 'x86_64' and platform_system == 'Linux'
74
+ typer==0.15.2 ; sys_platform != 'emscripten'
75
+ typing-extensions==4.12.2
76
+ tzdata==2025.1
77
+ urllib3==2.3.0
78
+ uvicorn==0.34.0 ; sys_platform != 'emscripten'
79
+ websockets==12.0
uv.lock ADDED
The diff for this file is too large to render. See raw diff