File size: 1,405 Bytes
97c9b79
4501e16
 
 
 
97c9b79
 
4501e16
97c9b79
 
 
 
4501e16
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
title: ESCP Notebook Runner
emoji: πŸ“Š
colorFrom: indigo
colorTo: blue
sdk: gradio
sdk_version: 6.9.0
python_version: 3.10.13
app_file: app.py
pinned: false
---

# ESCP Notebook Runner

This Hugging Face Space runs one bundled Jupyter notebook on two bundled CSV datasets and shows the outputs in a Gradio dashboard.

## Included files

- `app.py` β€” Gradio app
- `analysis.ipynb` β€” bundled notebook
- `synthetic_book_reviews.csv` β€” bundled reviews dataset
- `synthetic_sales_data.csv` β€” bundled sales dataset
- `requirements.txt` β€” Python dependencies
- `style.css` β€” clean styling with no background images
- `artifacts/` β€” where notebook outputs are saved
- `runs/` β€” executed notebook copies

## Why this update was needed

The previous version built the image, but the app could still fail at runtime because:
1. CSS was passed to `demo.launch(...)` instead of `gr.Blocks(..., css=...)`
2. the Space image used a newer Gradio runtime than the app code expected
3. Python 3.13 can break notebook/data-science dependencies more often than Python 3.10

## How to use it

1. Create a new Hugging Face **Gradio** Space.
2. Upload all files from this folder.
3. Wait for the build to finish.
4. Open the Space and click **Run Full Pipeline**.
5. Open **Dashboard** and click **Refresh Dashboard**.

You can leave the three upload fields empty to use the bundled notebook and CSV files.