ccss17 commited on
Commit
89760e4
·
1 Parent(s): a377b7b

deploy files

Browse files
Files changed (5) hide show
  1. Dockerfile +14 -0
  2. README.md +1 -0
  3. pyproject.toml +0 -1
  4. requirements-dev.txt +162 -0
  5. requirements.txt +124 -0
Dockerfile ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.12-slim
2
+ # Set the working directory
3
+ # All subsequent commands will run from here.
4
+ WORKDIR /app
5
+ RUN apt-get update && apt-get upgrade -y && rm -rf /var/lib/apt/lists/*
6
+ # Copy project files into the container.
7
+ # This copies everything from your local directory into the container's /app directory.
8
+ COPY . .
9
+ # Install all the Python packages listed in your requirements.txt.
10
+ # The --no-cache-dir flag keeps the final image size smaller.
11
+ RUN pip install --no-cache-dir --upgrade -r requirements.txt
12
+ # Define the default command to run when the Space starts.
13
+ # This launches a JupyterLab server that is accessible from the web.
14
+ CMD ["jupyter", "lab", "--ip=0.0.0.0", "--port=7860", "--allow-root", "--NotebookApp.token=''"]
README.md CHANGED
@@ -8,6 +8,7 @@ preprocess SVS dataset with [midii](https://github.com/ccss17/midii)
8
  pip install git+https://github.com/ccss17/toy-duration-predictor.git
9
  ```
10
 
 
11
  ## Usage
12
 
13
  ```python
 
8
  pip install git+https://github.com/ccss17/toy-duration-predictor.git
9
  ```
10
 
11
+
12
  ## Usage
13
 
14
  ```python
pyproject.toml CHANGED
@@ -9,7 +9,6 @@ authors = [
9
  requires-python = ">=3.9"
10
  dependencies = [
11
  "datasets>=3.6.0",
12
- "gradio>=4.44.1",
13
  "midii>=0.1.19",
14
  "numpy>=2.0.2",
15
  "pandas>=2.3.0",
 
9
  requires-python = ">=3.9"
10
  dependencies = [
11
  "datasets>=3.6.0",
 
12
  "midii>=0.1.19",
13
  "numpy>=2.0.2",
14
  "pandas>=2.3.0",
requirements-dev.txt ADDED
@@ -0,0 +1,162 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ -e .
2
+ aiohappyeyeballs==2.6.1
3
+ aiohttp==3.12.13
4
+ aiohttp-cors==0.8.1
5
+ aiosignal==1.3.2
6
+ annotated-types==0.7.0
7
+ anyio==4.9.0
8
+ appnope==0.1.4 ; sys_platform == 'darwin'
9
+ asttokens==3.0.0
10
+ async-timeout==5.0.1 ; python_full_version < '3.11'
11
+ attrs==25.3.0
12
+ black==25.1.0
13
+ cachetools==5.5.2
14
+ certifi==2025.6.15
15
+ cffi==1.17.1 ; implementation_name == 'pypy'
16
+ charset-normalizer==3.4.2
17
+ click==8.1.8 ; python_full_version < '3.10'
18
+ click==8.2.1 ; python_full_version >= '3.10'
19
+ colorama==0.4.6 ; sys_platform == 'win32'
20
+ colorful==0.5.6
21
+ comm==0.2.2
22
+ datasets==3.6.0
23
+ debugpy==1.8.14
24
+ decorator==5.2.1
25
+ dill==0.3.8
26
+ distlib==0.3.9
27
+ exceptiongroup==1.3.0 ; python_full_version < '3.11'
28
+ executing==2.2.0
29
+ fastapi==0.115.13
30
+ filelock==3.18.0
31
+ frozenlist==1.7.0
32
+ fsspec==2025.3.0
33
+ google-api-core==2.25.1
34
+ google-auth==2.40.3
35
+ googleapis-common-protos==1.70.0
36
+ grpcio==1.73.0
37
+ h11==0.16.0
38
+ hf-xet==1.1.5 ; platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'arm64' or platform_machine == 'x86_64'
39
+ httptools==0.6.4
40
+ huggingface-hub==0.33.0
41
+ idna==3.10
42
+ importlib-metadata==8.7.0
43
+ ipykernel==6.29.5
44
+ ipython==8.18.1 ; python_full_version < '3.10'
45
+ ipython==8.37.0 ; python_full_version == '3.10.*'
46
+ ipython==9.3.0 ; python_full_version >= '3.11'
47
+ ipython-pygments-lexers==1.1.1 ; python_full_version >= '3.11'
48
+ ipywidgets==8.1.7
49
+ jedi==0.19.2
50
+ jinja2==3.1.6
51
+ jsonschema==4.24.0
52
+ jsonschema-specifications==2025.4.1
53
+ jupyter-client==8.6.3
54
+ jupyter-core==5.8.1
55
+ jupyterlab-widgets==3.0.15
56
+ llvmlite==0.44.0 ; python_full_version >= '3.10'
57
+ markdown-it-py==3.0.0
58
+ markupsafe==2.1.5 ; python_full_version < '3.10'
59
+ markupsafe==3.0.2 ; python_full_version >= '3.10'
60
+ matplotlib-inline==0.1.7
61
+ mdurl==0.1.2
62
+ midii==0.1.19 ; python_full_version < '3.10'
63
+ midii==0.1.41 ; python_full_version >= '3.10'
64
+ mido==1.3.3
65
+ mpmath==1.3.0
66
+ msgpack==1.1.1
67
+ multidict==6.5.0
68
+ multiprocess==0.70.16
69
+ mypy-extensions==1.1.0
70
+ nest-asyncio==1.6.0
71
+ networkx==3.2.1 ; python_full_version < '3.10'
72
+ networkx==3.4.2 ; python_full_version == '3.10.*'
73
+ networkx==3.5 ; python_full_version >= '3.11'
74
+ numba==0.61.2 ; python_full_version >= '3.10'
75
+ numpy==2.0.2 ; python_full_version < '3.10'
76
+ numpy==2.2.6 ; python_full_version >= '3.10'
77
+ nvidia-cublas-cu12==12.6.4.1 ; platform_machine == 'x86_64' and sys_platform == 'linux'
78
+ nvidia-cuda-cupti-cu12==12.6.80 ; platform_machine == 'x86_64' and sys_platform == 'linux'
79
+ nvidia-cuda-nvrtc-cu12==12.6.77 ; platform_machine == 'x86_64' and sys_platform == 'linux'
80
+ nvidia-cuda-runtime-cu12==12.6.77 ; platform_machine == 'x86_64' and sys_platform == 'linux'
81
+ nvidia-cudnn-cu12==9.5.1.17 ; platform_machine == 'x86_64' and sys_platform == 'linux'
82
+ nvidia-cufft-cu12==11.3.0.4 ; platform_machine == 'x86_64' and sys_platform == 'linux'
83
+ nvidia-cufile-cu12==1.11.1.6 ; platform_machine == 'x86_64' and sys_platform == 'linux'
84
+ nvidia-curand-cu12==10.3.7.77 ; platform_machine == 'x86_64' and sys_platform == 'linux'
85
+ nvidia-cusolver-cu12==11.7.1.2 ; platform_machine == 'x86_64' and sys_platform == 'linux'
86
+ nvidia-cusparse-cu12==12.5.4.2 ; platform_machine == 'x86_64' and sys_platform == 'linux'
87
+ nvidia-cusparselt-cu12==0.6.3 ; platform_machine == 'x86_64' and sys_platform == 'linux'
88
+ nvidia-nccl-cu12==2.26.2 ; platform_machine == 'x86_64' and sys_platform == 'linux'
89
+ nvidia-nvjitlink-cu12==12.6.85 ; platform_machine == 'x86_64' and sys_platform == 'linux'
90
+ nvidia-nvtx-cu12==12.6.77 ; platform_machine == 'x86_64' and sys_platform == 'linux'
91
+ opencensus==0.11.4
92
+ opencensus-context==0.1.3
93
+ opentelemetry-api==1.34.1
94
+ opentelemetry-exporter-prometheus==0.55b1
95
+ opentelemetry-proto==1.34.1
96
+ opentelemetry-sdk==1.34.1
97
+ opentelemetry-semantic-conventions==0.55b1
98
+ packaging==25.0
99
+ pandas==2.3.0
100
+ parso==0.8.4
101
+ pathspec==0.12.1
102
+ pexpect==4.9.0 ; (python_full_version < '3.10' and sys_platform == 'emscripten') or (sys_platform != 'emscripten' and sys_platform != 'win32')
103
+ platformdirs==4.3.8
104
+ prometheus-client==0.22.1
105
+ prompt-toolkit==3.0.51
106
+ propcache==0.3.2
107
+ proto-plus==1.26.1
108
+ protobuf==5.29.5
109
+ psutil==7.0.0
110
+ ptyprocess==0.7.0 ; (python_full_version < '3.10' and sys_platform == 'emscripten') or (sys_platform != 'emscripten' and sys_platform != 'win32')
111
+ pure-eval==0.2.3
112
+ py-spy==0.4.0
113
+ pyarrow==17.0.0
114
+ pyasn1==0.6.1
115
+ pyasn1-modules==0.4.2
116
+ pycparser==2.22 ; implementation_name == 'pypy'
117
+ pydantic==2.11.7
118
+ pydantic-core==2.33.2
119
+ pygments==2.19.2
120
+ python-dateutil==2.9.0.post0
121
+ python-dotenv==1.1.1
122
+ pytz==2025.2
123
+ pywin32==310 ; platform_python_implementation != 'PyPy' and sys_platform == 'win32'
124
+ pyyaml==6.0.2
125
+ pyzmq==27.0.0
126
+ ray==2.47.1
127
+ referencing==0.36.2
128
+ requests==2.32.4
129
+ rich==14.0.0
130
+ rpds-py==0.25.1
131
+ rsa==4.9.1
132
+ ruff==0.12.0
133
+ setuptools==80.9.0 ; (python_full_version >= '3.12' and platform_machine != 'x86_64') or (python_full_version >= '3.12' and sys_platform != 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')
134
+ six==1.17.0
135
+ smart-open==7.1.0
136
+ sniffio==1.3.1
137
+ stack-data==0.6.3
138
+ starlette==0.46.2
139
+ sympy==1.14.0
140
+ tensorboardx==2.6.4
141
+ tomli==2.2.1 ; python_full_version < '3.11'
142
+ torch==2.7.1
143
+ tornado==6.5.1
144
+ tqdm==4.67.1
145
+ traitlets==5.14.3
146
+ triton==3.3.1 ; platform_machine == 'x86_64' and sys_platform == 'linux'
147
+ typing-extensions==4.14.0
148
+ typing-inspection==0.4.1
149
+ tzdata==2025.2
150
+ urllib3==2.5.0
151
+ uvicorn==0.34.3
152
+ uvloop==0.21.0 ; platform_python_implementation != 'PyPy' and sys_platform != 'cygwin' and sys_platform != 'win32'
153
+ virtualenv==20.31.2
154
+ watchfiles==1.1.0
155
+ wcwidth==0.2.13
156
+ websockets==12.0 ; python_full_version < '3.10'
157
+ websockets==15.0.1 ; python_full_version >= '3.10'
158
+ widgetsnbextension==4.0.14
159
+ wrapt==1.17.2
160
+ xxhash==3.5.0
161
+ yarl==1.20.1
162
+ zipp==3.23.0
requirements.txt ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ -e .
2
+ aiohappyeyeballs==2.6.1
3
+ aiohttp==3.12.13
4
+ aiohttp-cors==0.8.1
5
+ aiosignal==1.3.2
6
+ annotated-types==0.7.0
7
+ anyio==4.9.0
8
+ async-timeout==5.0.1 ; python_full_version < '3.11'
9
+ attrs==25.3.0
10
+ cachetools==5.5.2
11
+ certifi==2025.6.15
12
+ charset-normalizer==3.4.2
13
+ click==8.1.8 ; python_full_version < '3.10'
14
+ click==8.2.1 ; python_full_version >= '3.10'
15
+ colorama==0.4.6 ; sys_platform == 'win32'
16
+ colorful==0.5.6
17
+ datasets==3.6.0
18
+ dill==0.3.8
19
+ distlib==0.3.9
20
+ exceptiongroup==1.3.0 ; python_full_version < '3.11'
21
+ fastapi==0.115.13
22
+ filelock==3.18.0
23
+ frozenlist==1.7.0
24
+ fsspec==2025.3.0
25
+ google-api-core==2.25.1
26
+ google-auth==2.40.3
27
+ googleapis-common-protos==1.70.0
28
+ grpcio==1.73.0
29
+ h11==0.16.0
30
+ hf-xet==1.1.5 ; platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'arm64' or platform_machine == 'x86_64'
31
+ httptools==0.6.4
32
+ huggingface-hub==0.33.0
33
+ idna==3.10
34
+ importlib-metadata==8.7.0
35
+ jinja2==3.1.6
36
+ jsonschema==4.24.0
37
+ jsonschema-specifications==2025.4.1
38
+ llvmlite==0.44.0 ; python_full_version >= '3.10'
39
+ markdown-it-py==3.0.0
40
+ markupsafe==2.1.5 ; python_full_version < '3.10'
41
+ markupsafe==3.0.2 ; python_full_version >= '3.10'
42
+ mdurl==0.1.2
43
+ midii==0.1.19 ; python_full_version < '3.10'
44
+ midii==0.1.41 ; python_full_version >= '3.10'
45
+ mido==1.3.3
46
+ mpmath==1.3.0
47
+ msgpack==1.1.1
48
+ multidict==6.5.0
49
+ multiprocess==0.70.16
50
+ networkx==3.2.1 ; python_full_version < '3.10'
51
+ networkx==3.4.2 ; python_full_version == '3.10.*'
52
+ networkx==3.5 ; python_full_version >= '3.11'
53
+ numba==0.61.2 ; python_full_version >= '3.10'
54
+ numpy==2.0.2 ; python_full_version < '3.10'
55
+ numpy==2.2.6 ; python_full_version >= '3.10'
56
+ nvidia-cublas-cu12==12.6.4.1 ; platform_machine == 'x86_64' and sys_platform == 'linux'
57
+ nvidia-cuda-cupti-cu12==12.6.80 ; platform_machine == 'x86_64' and sys_platform == 'linux'
58
+ nvidia-cuda-nvrtc-cu12==12.6.77 ; platform_machine == 'x86_64' and sys_platform == 'linux'
59
+ nvidia-cuda-runtime-cu12==12.6.77 ; platform_machine == 'x86_64' and sys_platform == 'linux'
60
+ nvidia-cudnn-cu12==9.5.1.17 ; platform_machine == 'x86_64' and sys_platform == 'linux'
61
+ nvidia-cufft-cu12==11.3.0.4 ; platform_machine == 'x86_64' and sys_platform == 'linux'
62
+ nvidia-cufile-cu12==1.11.1.6 ; platform_machine == 'x86_64' and sys_platform == 'linux'
63
+ nvidia-curand-cu12==10.3.7.77 ; platform_machine == 'x86_64' and sys_platform == 'linux'
64
+ nvidia-cusolver-cu12==11.7.1.2 ; platform_machine == 'x86_64' and sys_platform == 'linux'
65
+ nvidia-cusparse-cu12==12.5.4.2 ; platform_machine == 'x86_64' and sys_platform == 'linux'
66
+ nvidia-cusparselt-cu12==0.6.3 ; platform_machine == 'x86_64' and sys_platform == 'linux'
67
+ nvidia-nccl-cu12==2.26.2 ; platform_machine == 'x86_64' and sys_platform == 'linux'
68
+ nvidia-nvjitlink-cu12==12.6.85 ; platform_machine == 'x86_64' and sys_platform == 'linux'
69
+ nvidia-nvtx-cu12==12.6.77 ; platform_machine == 'x86_64' and sys_platform == 'linux'
70
+ opencensus==0.11.4
71
+ opencensus-context==0.1.3
72
+ opentelemetry-api==1.34.1
73
+ opentelemetry-exporter-prometheus==0.55b1
74
+ opentelemetry-proto==1.34.1
75
+ opentelemetry-sdk==1.34.1
76
+ opentelemetry-semantic-conventions==0.55b1
77
+ packaging==25.0
78
+ pandas==2.3.0
79
+ platformdirs==4.3.8
80
+ prometheus-client==0.22.1
81
+ propcache==0.3.2
82
+ proto-plus==1.26.1
83
+ protobuf==5.29.5
84
+ py-spy==0.4.0
85
+ pyarrow==17.0.0
86
+ pyasn1==0.6.1
87
+ pyasn1-modules==0.4.2
88
+ pydantic==2.11.7
89
+ pydantic-core==2.33.2
90
+ pygments==2.19.2
91
+ python-dateutil==2.9.0.post0
92
+ python-dotenv==1.1.1
93
+ pytz==2025.2
94
+ pyyaml==6.0.2
95
+ ray==2.47.1
96
+ referencing==0.36.2
97
+ requests==2.32.4
98
+ rich==14.0.0
99
+ rpds-py==0.25.1
100
+ rsa==4.9.1
101
+ setuptools==80.9.0 ; (python_full_version >= '3.12' and platform_machine != 'x86_64') or (python_full_version >= '3.12' and sys_platform != 'linux') or (platform_machine == 'x86_64' and sys_platform == 'linux')
102
+ six==1.17.0
103
+ smart-open==7.1.0
104
+ sniffio==1.3.1
105
+ starlette==0.46.2
106
+ sympy==1.14.0
107
+ tensorboardx==2.6.4
108
+ torch==2.7.1
109
+ tqdm==4.67.1
110
+ triton==3.3.1 ; platform_machine == 'x86_64' and sys_platform == 'linux'
111
+ typing-extensions==4.14.0
112
+ typing-inspection==0.4.1
113
+ tzdata==2025.2
114
+ urllib3==2.5.0
115
+ uvicorn==0.34.3
116
+ uvloop==0.21.0 ; platform_python_implementation != 'PyPy' and sys_platform != 'cygwin' and sys_platform != 'win32'
117
+ virtualenv==20.31.2
118
+ watchfiles==1.1.0
119
+ websockets==12.0 ; python_full_version < '3.10'
120
+ websockets==15.0.1 ; python_full_version >= '3.10'
121
+ wrapt==1.17.2
122
+ xxhash==3.5.0
123
+ yarl==1.20.1
124
+ zipp==3.23.0