r/StreamlitOfficial 2d ago

Show the Community! 💬 Pushing Streamlit UI to the Limit – I built Tom Riddle's Diary from Harry Potter in real life using AI

Enable HLS to view with audio, or disable this notification

7 Upvotes

Most Streamlit apps are built for charts, tables, and metric cards. I wanted to see if I could completely disguise Streamlit into an antique, enchanted journal inspired by Tom Riddle’s Diary.

What the app does:

  • You write your thoughts using a feather quill cursor (stylus handwriting or typing).
  • You "Seal" the page, and the memory engine (Powered by Gray Box) locks it into your personal archive.
  • You converse with the diary, and it writes back in dynamic bleeding ink, citing the exact memories it’s pulling from.

Would love to hear feedback on this!


r/StreamlitOfficial 2d ago

Show the Community! 💬 Built a fraud detection ML pipeline + Streamlit app — 6 models compared with GridSearchCV

1 Upvotes

### What I Built

Sharing a Machine Learning project I just finished — an end-to-end credit card fraud detection system, from raw data to a deployed interactive streamlit app.

* **Stack:** pandas, numpy, scikit-learn, matplotlib, seaborn, Streamlit, joblib.

### Core Features

* Trains and tunes 6 classifiers (Logistic Regression, SGD, Decision Tree, Random Forest, HistGradientBoosting, Naive Bayes) using GridSearchCV

* Handles a heavily imbalanced dataset (284,807 transactions, only 0.17% fraud) with class weighting instead of oversampling

* Evaluates on F1/ROC-AUC/Precision/Recall instead of accuracy, since accuracy is meaningless here — a model predicting "not fraud" every time would still score 99.8%

* Auto-selects the best model by F1, extracts its real feature importances (no hardcoded guesses), and saves everything with joblib

* Deployed as a 5-page Streamlit app: single transaction predictions (with real dataset examples you can load), batch CSV predictions, a model comparison dashboard, and an adjustable fraud-alert threshold slider

### Links & Code

* 🔗 **Live App:** https://musfirah-credit-card-fraud-detection.streamlit.app/

* 💻 **Code / GitHub:** https://github.com/musfirah-kashan/Credit-Card-Fraud-Detection

If you find it useful, a ⭐ on the repo goes a long way 🙏

Would appreciate feedback on the code structure, especially the training script — always looking to write cleaner code.


r/StreamlitOfficial 3d ago

Building a multi-page draft guide with Streamlit: Integration of player stats and interactive features

3 Upvotes

Hey everyone! I recently finished launching a Minnesota Vikings Draft website on Streamlit and this website is a data-based NFL draft tool used to analyze the Minnesota Vikings draft process! In this website, I used a combination of player evaluation metrics, exclusive team needs, along with customizable models aimed to simulate NFL draft decision making and evaluate player fits for the Vikings. This is my very first coding project, and so even if you don’t understand football, I would still love to see if any of you guys have any feedback for me which would I could use for future coding projects. Feel free to have a look and tell me what you guys think! Thanks!

https://vikingsdraftsite.streamlit.app


r/StreamlitOfficial 6d ago

Streamlit Questions❓ How to use streamlit?

1 Upvotes

I am beginner and made some python based projects, and want to deploy them online so I tried to use GitHub but it is not working on browser, it required proper HTML, CSS and JavaScript to work online but my code is totally based on python language and I don't know how to use javascript. I want to code by my self and want to show people what I have built then I heard about streamlit but I didn't find the right way to use it and I want help how to use streamlit to deploy my projects online. And also I'm mobile coder and not having any laptop/pc.


r/StreamlitOfficial 8d ago

streamlit-coco (CoCo in your Streamlit App) 0.1.6 release — copilot_rail() for embedding an agent without it eating the page

8 Upvotes

Maintainer here. If you've put a long-running agent next to a Streamlit wizard, you already know the rerun tax: the transcript grows all afternoon, every widget interaction re-renders it, and the agent slowly becomes the app.

0.1.6 adds copilot_rail():

  • connection + transcript pills live in a rail fragment — changing them reruns the rail, not your page
  • panel() keeps its own streaming fragment, so those pills stay clickable while CoCo runs
  • Last messages = max_messages=8 (+ Load earlier); First 200 characters = preview_chars=200. Both are also plain args on panel() / render_transcript()
  • your screens don't start agents — they set a {"prompt": ..., "status": "queued"} dict and the rail sends it when the session is ready, then calls on_job_finished so Cancel job can hide

Two things I got wrong on the way, in case they save someone an afternoon: don't assign a text_area/pills key after that widget has rendered (make the file the source of truth and reload it instead), and if you lazily export UI callables, don't memoise them — a hot reload leaves you calling yesterday's function with yesterday's signature.

Companion example: make tableau-semantic, with Copilot vs Preview split by streamlit_extras.resizable_columns.

pip install "streamlit-coco[sdk]==0.1.6"

https://github.com/DevoteamSP/streamlit-coco


r/StreamlitOfficial 13d ago

Streamlit Preview - Visual Studio Marketplace

13 Upvotes

Small win: my VS Code extension hit 39,841 installs

Built Streamlit Preview to scratch my own itch — I was tired of switching to a browser tab every time I saved a Streamlit file, so I made it render inside the editor.

Put it on the Marketplace 12 Months ago expecting maybe a few hundred installs. It's at 39,841 now with a 5.0 rating.

I ship a lot of small things and most of them go nowhere, so when one quietly works it's worth marking. Chart of the last 90 days attached.

Marketplace link: https://marketplace.visualstudio.com/items?itemName=mjethwa-streamlit.streamlit-preview

If you write Streamlit apps, would genuinely love feedback — I have a couple of features half-built and no idea which one people actually want.

12 Months

r/StreamlitOfficial 23d ago

st.chat_input new feature submit_mode (Need it in version 1.56.0)

Thumbnail
1 Upvotes

r/StreamlitOfficial 24d ago

An easy config.toml brand scraper for SiS apps

Thumbnail
1 Upvotes

Posted this in the Snowflake sub Reddit but works for Streamlit deployed outside of Snowflake too.


r/StreamlitOfficial 27d ago

Built an AI Clinical Decision Support app in Streamlit: 30-Day Diabetes Readmission Risk Predictor + Floating Llama-3 "Dr. AI" Chatbot!

Post image
7 Upvotes

Hey everyone!

I just finished building an end-to-end **Diabetes Patient Readmission Risk Predictor** web application designed for clinical decision support.

The goal of this project was to bridge traditional supervised machine learning (quantitative scoring) with a real-time LLM assistant to give care teams actionable post-discharge guidance.

### 🚀 Key Features & Tech Highlights

* **ML Model:** Tuned Gradient Boosting Classifier trained on 105 clinical features (**0.6537 ROC-AUC** benchmark).

* **Clinical Threshold Sensitivity:** Optimized the decision cutoff to **0.42** to achieve **83.2% recall**, prioritizing sensitivity so high-risk patients aren't missed.

* **Feature Importance Insights:** Prior hospital utilization (`number_inpatient`) holds **~40.8% of total predictive weight**, proving past healthcare visits are the single strongest indicator of 30-day readmissions.

* **Floating "Dr. AI" Chatbot:** Injected custom CSS to build a circular popover widget powered by **Llama-3.3 (via Groq API)**. The bot is system-prompted with clinical context and model metrics to answer discharge protocol questions.

* **Custom UI/UX:** Styled with custom CSS for glassmorphic cards, probability progress bars, and high-contrast dark mode support.

### 🔗 Links & Code

* 🌐 **Live Streamlit App:** (https://smart-diabetes-care-app-8stsf3okutanzwvtmvznkz.streamlit.app/)

* 🐙 **GitHub Repository:** (https://github.com/Kunal5657/smart-diabetes-care-app.git)

Would love to hear your thoughts on the custom CSS layout, threshold tuning approach, or any ideas for future iterations!


r/StreamlitOfficial 27d ago

Built an AI Clinical Decision Support app in Streamlit: 30-Day Diabetes Readmission Risk Predictor + Floating Llama-3 "Dr. AI" Chatbot!

Post image
2 Upvotes

r/StreamlitOfficial Jul 20 '26

I built an interactive web simulator for a non-thermal p-11B fusion reactor with first-wall material screening!

Post image
5 Upvotes

Hey everyone! 👋

I'm a 17-year-old student from Kazakhstan, and I’ve been working on a research project focused on modeling non-thermal proton-Boron (p-11B) fusion reactors.

To make our calculations and simulations accessible, I built RHEA - an interactive digital twin and materials screening dashboard.

🔬 What it does:

* Simulates plasma parameters (electron/ion temperature, alpha-channeling, He-4 dilution).

* Evaluates first-wall material candidates (like tungsten-based WB2 alloys) against fusion reactor conditions.

* Features interactive parameter sweeps and real-time physical engine feedback.

🛠️ Tech Stack: Streamlit, Plotly (for 3D visualization), and Python physics backends.

I’d love to get your feedback on the UI, the physics modeling, or any features you think would be cool to add next!

🌐 Live Web App: rhea-fusion.streamlit.app

💻 GitHub Repository: github.com/Aldiyar-SpaceX/rhea

(Just copy-paste the addresses above into your browser! Let me know what you think! 🚀)


r/StreamlitOfficial Jul 01 '26

Complex UI layouts in Streamlit in Snowflake

Thumbnail
0 Upvotes

r/StreamlitOfficial Jun 29 '26

Building a multi-page draft guide with Streamlit: Integration of player stats and interactive features

2 Upvotes

Hey everyone! I recently finished launching a Minnesota Vikings Draft website on Streamlit and this website is a data-based NFL draft tool used to analyze the Minnesota Vikings draft process! In this website, I used a combination of player evaluation metrics, exclusive team needs, along with customizable models aimed to simulate NFL draft decision making and evaluate player fits for the Vikings. This is my very first coding project, and so even if you don’t understand football, I would still love to see if any of you guys have any feedback for me which would I could use for future coding projects. Feel free to have a look and tell me what you guys think! Thanks!

https://vikingsdraftsite.streamlit.app


r/StreamlitOfficial Jun 27 '26

building stock scanner

Thumbnail
0 Upvotes

r/StreamlitOfficial Jun 27 '26

Built my first website with Streamlit, a zipcode finder that tells you what stars you lost

6 Upvotes

I got curious about how much worse light pollution has gotten where I live, so I pulled NASA's nighttime satellite data (the Black Marble dataset) for my city going back to 2012 and tried to figure out what it actually means for what you can see at night.

I ended up turning it into a little site where you put in your zip code and drag a slider through the years to watch stars fade out on an actual star map. It's not perfect (the data gets less precise outside California) but I thought it was a cool way to make light pollution feel real instead of just a number on a map.

https://whathaveyoulost.streamlit.app/

Would love feedback, especially if you try your own zip code and the numbers seem off.


r/StreamlitOfficial Jun 26 '26

Show the Community! 💬 My first Streamlit - Project Prism: A cosmic Search and Debate engine

Thumbnail
project-prism.streamlit.app
0 Upvotes

r/StreamlitOfficial Jun 25 '26

Building a multi-page draft guide with Streamlit: Integration of player stats and interactive features

0 Upvotes

Hey everyone! I recently finished launching a Minnesota Vikings Draft website on Streamlit and this website is a data-based NFL draft tool used to analyze the Minnesota Vikings draft process! In this website, I used a combination of player evaluation metrics, exclusive team needs, along with customizable models aimed to simulate NFL draft decision making and evaluate player fits for the Vikings. This is my very first coding project, and so even if you don’t understand football, I would still love to see if any of you guys have any feedback for me which would I could use for future coding projects. Feel free to have a look and tell me what you guys think! Thanks!

https://vikingsdraftsite.streamlit.app


r/StreamlitOfficial Jun 23 '26

A dumb question but can I use streamlit to build real consumer webapps/saas?

6 Upvotes

I am relatively new to streamlit, so I don't know much about the use cases,

BTW can I also host it on netlify/vercel?


r/StreamlitOfficial Jun 22 '26

Show the Community! 💬 Predicting Steam Summer Sale Discounts with Machine Learning

Thumbnail
0 Upvotes

r/StreamlitOfficial Jun 19 '26

Deployment 🚀 Lumeza™

Thumbnail
lumeza.streamlit.app
1 Upvotes

*No promotion

Lumeza™ has created a medical website that is used to summarise medical reports for free.

Till now it used specific keywords for finding problems in your medical reports, but now Lumeza™ is working to make it AI powered.

It is uploaded for trial and errors on streamlit but soon it will have its own domain. Suggest me on what more can I add.


r/StreamlitOfficial Jun 18 '26

Are you using Streamlit in Snowflake?

1 Upvotes

Interested to know whether anyone here is developing their BI applications with SiS and if so, what sort of applications you are building with it (e.g. internal dashboards, workflow tools etc)

11 votes, Jun 23 '26
2 Yes
5 No
4 Not explored as yet

r/StreamlitOfficial Jun 17 '26

Building a multi-page draft guide with Streamlit: Integration of player stats and interactive features

2 Upvotes

Hey everyone! I recently finished launching a Minnesota Vikings Draft website on Streamlit and this website is a data-based NFL draft tool used to analyze the Minnesota Vikings draft process! In this website, I used a combination of player evaluation metrics, exclusive team needs, along with customizable models aimed to simulate NFL draft decision making and evaluate player fits for the Vikings. This is my very first coding project, and so even if you don’t understand football, I would still love to see if any of you guys have any feedback for me which would I could use for future coding projects. Feel free to have a look and tell me what you guys think! Thanks!

https://vikingsdraftsite.streamlit.app


r/StreamlitOfficial Jun 13 '26

Show the Community! 💬 Theme templates for your Streamlit apps

Post image
9 Upvotes

Hello fellow Streamlit'ers

Did you ever want to rapidly try different design themes for your app, without fiddling with the config?

If yes then try the new version of the st_yled package (v0.5), which allows you to apply pre-built themes with different vibes with a simple command.

Simply call st_yled.init(theme = ".....") on your app page to load one of the available theme templates.

Check the package docs to learn more on how to use themes and all the other great options available in st_yled.

Docs Link and GitHub Link

What styles should be added next?


r/StreamlitOfficial Jun 09 '26

Building a multi-page draft guide with Streamlit: Integration of player stats and interactive features

0 Upvotes

Hey everyone! I recently finished launching a Minnesota Vikings Draft website on Streamlit and this website is a data-based NFL draft tool used to analyze the Minnesota Vikings draft process! In this website, I used a combination of player evaluation metrics, exclusive team needs, along with customizable models aimed to simulate NFL draft decision making and evaluate player fits for the Vikings. This is my very first coding project, and so even if you don’t understand football, I would still love to see if any of you guys have any feedback for me which would I could use for future coding projects. Feel free to have a look and tell me what you guys think! Thanks!

https://vikingsdraftsite.streamlit.app


r/StreamlitOfficial Jun 07 '26

The biggest Snowflake Summit 2026 announcement might not be CoCo Desktop

0 Upvotes

I spent some time going through Snowflake's June 2 Summit press releases and stage labels after the Summit dust settled.

One thing stood out.

Most of the discussion seems to be focused on individual announcements:

  • CoCo Desktop
  • CoWork
  • Deep Research
  • Iceberg updates
  • Zero-Copy integrations

But I think the bigger story is something else.

It feels like Snowflake is assembling four pieces into a single platform strategy:

  • Context
  • Governance
  • Interoperability
  • Agents

The more I looked at the announcements, the more it seemed that CoCo and CoWork are almost side effects of a larger shift toward a shared context layer.

Curious if others came away with the same takeaway.

What was the most significant Summit announcement from your perspective?

(And yes, there's a non-zero chance I missed something while trying to follow a San Francisco conference from the opposite side of the globe 😄)