Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available: 6.15.2
metadata
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 applicationpythonanalysis.ipynbβ your uploaded analysis notebooksynthetic_sales_data.csvβ sales datasetsynthetic_book_reviews.csvβ reviews datasetstyle.cssβ local styling with no background imagesrequirements.txtβ pinned Python dependencies
Environment variables
Optional variables for the AI tab:
HF_API_KEYMODEL_NAMEHF_PROVIDERPAPERMILL_TIMEOUTAUTO_RUN_ON_LOAD
Notes
The app creates notebook outputs inside:
artifacts/py/figuresartifacts/py/tablesruns/
The app also sanitizes the notebook before execution so !pip install ... cells are skipped. Dependencies are handled by requirements.txt.