Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available: 6.15.2
metadata
title: Notebook Runner for Book Analytics
emoji: 📚
colorFrom: blue
colorTo: indigo
sdk: gradio
sdk_version: 5.23.1
app_file: app.py
pinned: false
Notebook Runner for Book Analytics
This Hugging Face Space runs a Jupyter notebook on two CSV datasets and returns the generated plots, tables, and the executed notebook.
What this Space does
- Executes
2a_Python_Analysis_Charlotte_Gers.ipynb - Uses these datasets:
synthetic_book_reviews.csvsynthetic_sales_data.csv
- Displays exported PNG charts in the app
- Lets the user preview exported CSV tables
- Produces a ZIP file containing all execution outputs
Expected repository structure
Put these files in the Space root:
app.pyrequirements.txtREADME.md2a_Python_Analysis_Charlotte_Gers.ipynbsynthetic_book_reviews.csvsynthetic_sales_data.csv
How to deploy
- Create a new Gradio Space on Hugging Face.
- Upload all files from this project folder to the Space root.
- Wait for the Space to build.
- Open the app and click Run notebook.
Notes
- The app executes the notebook in a temporary working directory so relative CSV paths continue to work.
- The notebook already exports artifacts into
artifacts/py/figuresandartifacts/py/tables, and the app reads those outputs automatically. - Users can either run the bundled notebook and datasets or upload replacements from the interface.
Recommended repository visibility
Use private visibility if the notebook or datasets are not meant to be public.