Spaces:
Running
Running
noahlee1234 commited on
Commit ·
263a6a1
1
Parent(s): 8cfaa29
Add Hugging Face Space runtime guidance
Browse files- .hfignore +17 -0
- docs/space-runtime-notes.md +24 -0
.hfignore
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# NaturalCAD Hugging Face Space ignore guidance
|
| 2 |
+
|
| 3 |
+
.git/
|
| 4 |
+
archive/
|
| 5 |
+
apps/backend-api/
|
| 6 |
+
apps/web-visualizer/
|
| 7 |
+
packages/
|
| 8 |
+
examples/
|
| 9 |
+
**/__pycache__/
|
| 10 |
+
**/.DS_Store
|
| 11 |
+
**/.venv/
|
| 12 |
+
**/node_modules/
|
| 13 |
+
**/dist/
|
| 14 |
+
apps/gradio-demo/artifacts/runs/*
|
| 15 |
+
apps/gradio-demo/artifacts/logs/*
|
| 16 |
+
!apps/gradio-demo/artifacts/runs/.gitkeep
|
| 17 |
+
!apps/gradio-demo/artifacts/logs/.gitkeep
|
docs/space-runtime-notes.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# NaturalCAD Space Runtime Notes
|
| 2 |
+
|
| 3 |
+
## Intention
|
| 4 |
+
|
| 5 |
+
The Hugging Face Space should run the leanest useful version of NaturalCAD.
|
| 6 |
+
|
| 7 |
+
## What the Space really needs
|
| 8 |
+
|
| 9 |
+
- `app.py`
|
| 10 |
+
- root `requirements.txt`
|
| 11 |
+
- `apps/gradio-demo/app/main.py`
|
| 12 |
+
- selected branding assets used by the README
|
| 13 |
+
- lightweight artifacts directories with `.gitkeep`
|
| 14 |
+
|
| 15 |
+
## What the Space does not need for MVP runtime
|
| 16 |
+
|
| 17 |
+
- `apps/backend-api/`
|
| 18 |
+
- `apps/web-visualizer/`
|
| 19 |
+
- legacy archive material
|
| 20 |
+
- local generated runs/log files
|
| 21 |
+
|
| 22 |
+
## Why `.hfignore` exists
|
| 23 |
+
|
| 24 |
+
The repository can still hold planning material and future infrastructure, while the Space runtime stays lighter and less confusing.
|