MichaelRKessler commited on
Commit
db0bf42
·
1 Parent(s): 4776a40

Added requirements.txt from uv.lock and Hugging Face Spaces frontmatter to README.md

Browse files

I added Hugging Face Spaces frontmatter to README.md and generated a root requirements.txt from your uv.lock with uv export --format requirements.txt --no-hashes --no-dev --frozen --output-file requirements.txt. That gives Spaces the dependency file it expects while keeping your local workflow on uv.

Files changed (2) hide show
  1. README.md +10 -0
  2. requirements.txt +174 -0
README.md CHANGED
@@ -1,3 +1,13 @@
 
 
 
 
 
 
 
 
 
 
1
  # STL to TIFF Gradio App
2
 
3
  This project provides a Gradio app that takes an uploaded STL file, shows an interactive 3D viewer, slices it along the Z axis, saves each slice as a TIFF image, and lets you browse the stack inside the UI.
 
1
+ ---
2
+ title: STL to TIFF Slicer
3
+ sdk: gradio
4
+ sdk_version: 6.10.0
5
+ python_version: "3.12"
6
+ app_file: app.py
7
+ fullWidth: true
8
+ short_description: Upload an STL, inspect it in 3D, and export a TIFF slice stack.
9
+ ---
10
+
11
  # STL to TIFF Gradio App
12
 
13
  This project provides a Gradio app that takes an uploaded STL file, shows an interactive 3D viewer, slices it along the Z axis, saves each slice as a TIFF image, and lets you browse the stack inside the UI.
requirements.txt ADDED
@@ -0,0 +1,174 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # This file was autogenerated by uv via the following command:
2
+ # uv export --format requirements.txt --no-hashes --no-dev --frozen --output-file requirements.txt
3
+ aiofiles==24.1.0
4
+ # via gradio
5
+ annotated-doc==0.0.4
6
+ # via
7
+ # fastapi
8
+ # typer
9
+ annotated-types==0.7.0
10
+ # via pydantic
11
+ anyio==4.13.0
12
+ # via
13
+ # gradio
14
+ # httpx
15
+ # starlette
16
+ audioop-lts==0.2.2 ; python_full_version >= '3.13'
17
+ # via gradio
18
+ brotli==1.2.0
19
+ # via gradio
20
+ certifi==2026.2.25
21
+ # via
22
+ # httpcore
23
+ # httpx
24
+ click==8.3.1
25
+ # via
26
+ # typer
27
+ # uvicorn
28
+ colorama==0.4.6 ; sys_platform == 'win32'
29
+ # via
30
+ # click
31
+ # tqdm
32
+ fastapi==0.135.2
33
+ # via gradio
34
+ ffmpy==1.0.0
35
+ # via gradio
36
+ filelock==3.25.2
37
+ # via huggingface-hub
38
+ fsspec==2026.3.0
39
+ # via
40
+ # gradio-client
41
+ # huggingface-hub
42
+ gradio==6.10.0
43
+ # via stl-to-gcode
44
+ gradio-client==2.4.0
45
+ # via
46
+ # gradio
47
+ # hf-gradio
48
+ groovy==0.1.2
49
+ # via gradio
50
+ h11==0.16.0
51
+ # via
52
+ # httpcore
53
+ # uvicorn
54
+ hf-gradio==0.3.0
55
+ # via gradio
56
+ hf-xet==1.4.2 ; platform_machine == 'AMD64' or platform_machine == 'aarch64' or platform_machine == 'amd64' or platform_machine == 'arm64' or platform_machine == 'x86_64'
57
+ # via huggingface-hub
58
+ httpcore==1.0.9
59
+ # via httpx
60
+ httpx==0.28.1
61
+ # via
62
+ # gradio
63
+ # gradio-client
64
+ # huggingface-hub
65
+ # safehttpx
66
+ huggingface-hub==1.8.0
67
+ # via
68
+ # gradio
69
+ # gradio-client
70
+ idna==3.11
71
+ # via
72
+ # anyio
73
+ # httpx
74
+ jinja2==3.1.6
75
+ # via gradio
76
+ markdown-it-py==4.0.0
77
+ # via rich
78
+ markupsafe==3.0.3
79
+ # via
80
+ # gradio
81
+ # jinja2
82
+ mdurl==0.1.2
83
+ # via markdown-it-py
84
+ networkx==3.6.1
85
+ # via stl-to-gcode
86
+ numpy==2.4.4
87
+ # via
88
+ # gradio
89
+ # pandas
90
+ # scipy
91
+ # shapely
92
+ # stl-to-gcode
93
+ # trimesh
94
+ orjson==3.11.7
95
+ # via gradio
96
+ packaging==26.0
97
+ # via
98
+ # gradio
99
+ # gradio-client
100
+ # huggingface-hub
101
+ pandas==3.0.1
102
+ # via gradio
103
+ pillow==12.1.1
104
+ # via
105
+ # gradio
106
+ # stl-to-gcode
107
+ pydantic==2.12.5
108
+ # via
109
+ # fastapi
110
+ # gradio
111
+ pydantic-core==2.41.5
112
+ # via pydantic
113
+ pydub==0.25.1
114
+ # via gradio
115
+ pygments==2.20.0
116
+ # via rich
117
+ python-dateutil==2.9.0.post0
118
+ # via pandas
119
+ python-multipart==0.0.22
120
+ # via gradio
121
+ pytz==2026.1.post1
122
+ # via gradio
123
+ pyyaml==6.0.3
124
+ # via
125
+ # gradio
126
+ # huggingface-hub
127
+ rich==14.3.3
128
+ # via typer
129
+ safehttpx==0.1.7
130
+ # via gradio
131
+ scipy==1.17.1
132
+ # via stl-to-gcode
133
+ semantic-version==2.10.0
134
+ # via gradio
135
+ shapely==2.1.2
136
+ # via stl-to-gcode
137
+ shellingham==1.5.4
138
+ # via typer
139
+ six==1.17.0
140
+ # via python-dateutil
141
+ starlette==0.52.1
142
+ # via
143
+ # fastapi
144
+ # gradio
145
+ tomlkit==0.13.3
146
+ # via gradio
147
+ tqdm==4.67.3
148
+ # via huggingface-hub
149
+ trimesh==4.11.5
150
+ # via stl-to-gcode
151
+ typer==0.24.1
152
+ # via
153
+ # gradio
154
+ # hf-gradio
155
+ # huggingface-hub
156
+ typing-extensions==4.15.0
157
+ # via
158
+ # anyio
159
+ # fastapi
160
+ # gradio
161
+ # gradio-client
162
+ # huggingface-hub
163
+ # pydantic
164
+ # pydantic-core
165
+ # starlette
166
+ # typing-inspection
167
+ typing-inspection==0.4.2
168
+ # via
169
+ # fastapi
170
+ # pydantic
171
+ tzdata==2025.3 ; sys_platform == 'emscripten' or sys_platform == 'win32'
172
+ # via pandas
173
+ uvicorn==0.42.0
174
+ # via gradio