Spaces:
Sleeping
Sleeping
File size: 1,199 Bytes
cdfe02c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | ---
title: ESCP Book Analytics Space
emoji: π
colorFrom: purple
colorTo: indigo
sdk: gradio
sdk_version: "5.23.3"
app_file: app.py
pinned: false
python_version: "3.10"
---
# ESCP Book Analytics Space
This Hugging Face Space runs the included Jupyter notebook automatically and turns the saved outputs into:
- KPI cards
- Interactive sales charts
- Sentiment charts
- Top-seller analysis
- Table previews
- A simple AI dashboard for natural-language questions
## Files included
- `app.py` β the Gradio application
- `pythonanalysis.ipynb` β your uploaded analysis notebook
- `synthetic_sales_data.csv` β sales dataset
- `synthetic_book_reviews.csv` β reviews dataset
- `style.css` β local styling with no background images
- `requirements.txt` β pinned Python dependencies
## Environment variables
Optional variables for the AI tab:
- `HF_API_KEY`
- `MODEL_NAME`
- `HF_PROVIDER`
- `PAPERMILL_TIMEOUT`
- `AUTO_RUN_ON_LOAD`
## Notes
The app creates notebook outputs inside:
- `artifacts/py/figures`
- `artifacts/py/tables`
- `runs/`
The app also sanitizes the notebook before execution so `!pip install ...` cells are skipped. Dependencies are handled by `requirements.txt`.
|