Spaces:
Build error
Build error
Update README.md
Browse files
README.md
CHANGED
@@ -1,36 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
|
2 |
-
|
3 |
|
4 |
-
A lightweight, click-to-explore periodic table you can deploy to a **Hugging Face Space**.
|
5 |
|
6 |
-
**Features**
|
7 |
-
- Click any element to view properties (mass, density, melting/boiling points, radii, etc.).
|
8 |
-
- Search by **symbol, name, or atomic number**.
|
9 |
-
- **Trend chart** for the selected element.
|
10 |
-
- **Periodic heatmap** for a chosen property (e.g., electronegativity).
|
11 |
-
- A couple of **fun facts** per element (group-based + curated highlights).
|
12 |
-
|
13 |
-
**Tech**
|
14 |
-
- [Gradio](https://www.gradio.app/) UI
|
15 |
-
- [`periodictable`](https://pypi.org/project/periodictable/) for element data
|
16 |
-
- `plotly` for charts
|
17 |
-
|
18 |
-
## Deploy on Hugging Face Spaces
|
19 |
-
|
20 |
-
1. Create a new Space → **Gradio** template.
|
21 |
-
2. Add these files at the root of the repo:
|
22 |
-
- `app.py`
|
23 |
-
- `requirements.txt`
|
24 |
-
- `README.md` (optional)
|
25 |
-
3. Commit. The Space will build and launch. If you see a build error, open the **Logs** tab.
|
26 |
-
|
27 |
-
**Tip:** Spaces sometimes sleep on free tiers; first load may take a bit while dependencies install.
|
28 |
-
|
29 |
-
## Local development
|
30 |
-
|
31 |
-
```bash
|
32 |
-
pip install -r requirements.txt
|
33 |
-
python app.py
|
34 |
-
```
|
35 |
-
|
36 |
-
Then open the local Gradio URL in your browser.
|
|
|
1 |
+
---
|
2 |
+
title: Interactive Periodic Table
|
3 |
+
emoji: 🧪
|
4 |
+
colorFrom: blue
|
5 |
+
colorTo: green
|
6 |
+
sdk: gradio
|
7 |
+
sdk_version: "4.29.0"
|
8 |
+
app_file: app.py
|
9 |
+
pinned: false
|
10 |
+
---
|
11 |
|
12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
13 |
|
|
|
14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|