feat(streamlit-eda): add deployment recipe, CSV file uploader, and updated docs#440
Open
GeoSegun wants to merge 4 commits into
Open
feat(streamlit-eda): add deployment recipe, CSV file uploader, and updated docs#440GeoSegun wants to merge 4 commits into
GeoSegun wants to merge 4 commits into
Conversation
- Adds missing deployment recipe so the template works out of the box - Sets start_script to pip install -r requirements.txt (uses existing file) - Fixes command to bind on 0.0.0.0:8000 for Saturn proxy compatibility - Single git repository entry with standard /home/jovyan/examples clone path - Uses saturn-python:2025.05.01 image, large instance type
f37721e to
54e0e82
Compare
added 2 commits
May 25, 2026 22:02
- Replace hardcoded Tips dataset with a sidebar file uploader - Falls back to Tips dataset when no file is uploaded (with info message) - Filter column is now dynamic — auto-detects categorical columns - Chart column is now dynamic — user picks any numeric column to visualize - App now works with any CSV, not just the Tips dataset
…loud deployment - Rewrites dataset section to document the file uploader feature - Adds dedicated 'Uploading Your Own Data' section with: - Supported format (CSV, UTF-8, single header row) - Column type requirements (at least one categorical + one numeric) - Table of good dataset examples with example column types - What to avoid (large files, nested headers, purely numeric CSVs) - Step-by-step upload instructions - Adds feature overview table - Updates tech stack to include seaborn and matplotlib - Adds Saturn Cloud deployment section explaining the saturn.json recipe - Updates local setup and resource links
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Streamlit EDA Dashboard — Template Improvements
This PR makes the
cpu-streamlit-edatemplate fully deployable and discoverable on Saturn Cloud.Changes
1. Added
.saturn/saturn.jsondeployment recipeThe template had no recipe file, so users had to configure everything manually. The new recipe pre-configures:
saturn-python:2025.05.01)start_scriptto install dependencies viarequirements.txt0.0.0.0:8000(required by Saturn Cloud's proxy)Users can now launch this template from the Saturn Cloud UI and get a working deployment immediately.
2. Updated
app.py— CSV file uploaderThe app previously hardcoded the Tips dataset with hardcoded column names. It now:
@st.cache_dataon both the default and uploaded data loaders for performance3. Updated
README.mdRewrote the README to document:
4. Registered template in
.saturn/templates-hosted.jsonand.saturn/templates-enterprise.jsonThe template was absent from both registry files, which meant it would not appear on the Saturn Cloud platform even after the recipe was added. Added an entry to both files:
dashboard.pngexamples/data-science-analystics/cpu-streamlit-eda/.saturn/saturn.jsonTesting
Deployed and verified on Saturn Cloud: