Commit ·
262502a
1
Parent(s): 4de5102
docs: pointer les liens Hugging Face vers le Space PythonMindset
Browse filesLe Space est désormais https://huggingface.co/spaces/PythonMindset/dakar-power-prediction
- README.md : badge « HF Spaces – Live »
- DEPLOY.md : remote hf et vérification post-déploiement
- scripts/take_screenshots.py : URL directe du Space
(pythonmindset-dakar-power-prediction.hf.space)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- DEPLOY.md +2 -2
- README.md +1 -1
- scripts/take_screenshots.py +2 -2
DEPLOY.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
|
| 3 |
Ce projet a deux remotes :
|
| 4 |
- `origin` → GitHub (`https://github.com/chniang/dakar-power-prediction.git`)
|
| 5 |
-
- `hf` → Hugging Face Space (`https://huggingface.co/spaces/
|
| 6 |
|
| 7 |
## Workflow standard
|
| 8 |
|
|
@@ -32,6 +32,6 @@ git lfs status
|
|
| 32 |
|
| 33 |
## Vérification post-déploiement
|
| 34 |
|
| 35 |
-
1. Ouvrir le Space : https://huggingface.co/spaces/
|
| 36 |
2. Vérifier les 3 indicateurs en haut de l'app : LightGBM ✅, LSTM ✅/⚠️, CSV ✅
|
| 37 |
3. Tester une prédiction sur un quartier
|
|
|
|
| 2 |
|
| 3 |
Ce projet a deux remotes :
|
| 4 |
- `origin` → GitHub (`https://github.com/chniang/dakar-power-prediction.git`)
|
| 5 |
+
- `hf` → Hugging Face Space (`https://huggingface.co/spaces/PythonMindset/dakar-power-prediction`)
|
| 6 |
|
| 7 |
## Workflow standard
|
| 8 |
|
|
|
|
| 32 |
|
| 33 |
## Vérification post-déploiement
|
| 34 |
|
| 35 |
+
1. Ouvrir le Space : https://huggingface.co/spaces/PythonMindset/dakar-power-prediction
|
| 36 |
2. Vérifier les 3 indicateurs en haut de l'app : LightGBM ✅, LSTM ✅/⚠️, CSV ✅
|
| 37 |
3. Tester une prédiction sur un quartier
|
README.md
CHANGED
|
@@ -15,7 +15,7 @@ pinned: false
|
|
| 15 |
[](https://www.python.org/)
|
| 16 |
[](https://streamlit.io/)
|
| 17 |
[](https://github.com/chniang/dakar-power-prediction/actions)
|
| 18 |
-
[](https://huggingface.co/spaces/
|
| 19 |
[](LICENSE)
|
| 20 |
|
| 21 |
---
|
|
|
|
| 15 |
[](https://www.python.org/)
|
| 16 |
[](https://streamlit.io/)
|
| 17 |
[](https://github.com/chniang/dakar-power-prediction/actions)
|
| 18 |
+
[](https://huggingface.co/spaces/PythonMindset/dakar-power-prediction)
|
| 19 |
[](LICENSE)
|
| 20 |
|
| 21 |
---
|
scripts/take_screenshots.py
CHANGED
|
@@ -1,13 +1,13 @@
|
|
| 1 |
"""
|
| 2 |
Génération automatique des captures d'écran — Dakar Power Prediction
|
| 3 |
-
Cible : Space HF https://
|
| 4 |
Usage : python scripts/take_screenshots.py
|
| 5 |
"""
|
| 6 |
import asyncio
|
| 7 |
from pathlib import Path
|
| 8 |
from playwright.async_api import async_playwright, TimeoutError as PWTimeout
|
| 9 |
|
| 10 |
-
SPACE_URL = "https://
|
| 11 |
IMAGES_DIR = Path(__file__).parent.parent / "images"
|
| 12 |
VIEWPORT = {"width": 1920, "height": 1080}
|
| 13 |
|
|
|
|
| 1 |
"""
|
| 2 |
Génération automatique des captures d'écran — Dakar Power Prediction
|
| 3 |
+
Cible : Space HF https://pythonmindset-dakar-power-prediction.hf.space/
|
| 4 |
Usage : python scripts/take_screenshots.py
|
| 5 |
"""
|
| 6 |
import asyncio
|
| 7 |
from pathlib import Path
|
| 8 |
from playwright.async_api import async_playwright, TimeoutError as PWTimeout
|
| 9 |
|
| 10 |
+
SPACE_URL = "https://pythonmindset-dakar-power-prediction.hf.space/"
|
| 11 |
IMAGES_DIR = Path(__file__).parent.parent / "images"
|
| 12 |
VIEWPORT = {"width": 1920, "height": 1080}
|
| 13 |
|