Spaces:
Build error
Build error
Update README.md
Browse files
README.md
CHANGED
@@ -1,12 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
---
|
11 |
|
12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# My Hugging Face Space
|
2 |
+
|
3 |
+
This is a Hugging Face Space running a Python app (Gradio / Streamlit / FastAPI, etc.).
|
4 |
+
It is set up to install the required system packages and Python dependencies so it works
|
5 |
+
on the latest Debian base images used by Hugging Face.
|
6 |
+
|
7 |
---
|
8 |
+
|
9 |
+
## π Running on Hugging Face
|
10 |
+
|
11 |
+
This Space uses:
|
12 |
+
|
13 |
+
- **Python 3.x** (via Hugging Face build image)
|
14 |
+
- **System packages** listed in `packages.txt`
|
15 |
+
- **Python dependencies** listed in `requirements.txt`
|
16 |
+
|
17 |
+
### Fixed: libgl1-mesa-glx Error
|
18 |
+
|
19 |
+
Debian Trixie (used by Hugging Face) has removed the `libgl1-mesa-glx` package.
|
20 |
+
This repo uses `libgl1` instead to avoid the `E: Unable to locate package libgl1-mesa-glx` build error.
|
21 |
+
|
22 |
---
|
23 |
|
24 |
+
## π¦ Installation
|
25 |
+
|
26 |
+
If you want to run locally:
|
27 |
+
|
28 |
+
1. **Clone the repo**
|
29 |
+
```bash
|
30 |
+
git clone https://huggingface.co/spaces/USERNAME/REPO_NAME
|
31 |
+
cd REPO_NAME
|