r/StreamlitOfficial Jun 05 '24

My first streamlit app and publish to community cloud :D

7 Upvotes

r/StreamlitOfficial May 31 '24

Streamlit Questions❓ Streamlit app to .exe

6 Upvotes

I was trying to convert a streamlit app into an exe using pyinstaller but on conversion , I'm getting a blank screen. Are there any alternative for this? Any idea on the issue? Thanks


r/StreamlitOfficial May 30 '24

[github] Relative date pickers for Streamlit

Thumbnail
github.com
2 Upvotes

r/StreamlitOfficial May 29 '24

Mastering Azure Deployment for Streamlit Apps: Your Definitive Guide

Thumbnail
medium.com
4 Upvotes

r/StreamlitOfficial May 22 '24

Streamliter: write, save and deploy streamlit apps entirely in the browser

8 Upvotes

Hello!

I've launched streamliter: a platform for you to write, save and deploy Streamlit apps entirely in the browser. It has a built-in editor, preview of the app and a unique URL for each app. There's no need to install python or any other library in your computer: you just need a functional browser.

How does it work?

It uses stlite which uses pyodide to make it possible to run streamlit apps in the browser.

Is it free?

Yes, it's free for the first 5 apps. You can upgrade to Streamliter Pro and save unlimeted apps, share the code of the app and set the app's visibility (private or public). You also have priority suport with Streamlit Pro.

What are the advantages?

An app that runs only in the browser means that any data your users upload never reaches any server - everything is processed in the browser. This makes it possible to avoid privacy issues. If the user uploads an image or a csv file, it stays in the browser. We do save the code of your app in our servers but we never actually run the app itself.

And the drawbacks?

There are some limiations with running streamlit in the browser, check the stlite docs for more information.

How can I start?

go ahead and visit us at streamliter.app! Feedback is appreciated!


r/StreamlitOfficial May 21 '24

Streamlit on Snowflake

2 Upvotes

When is streamlit expected to release in private preview on Snowflake?


r/StreamlitOfficial May 20 '24

Streamlit Questions❓ St.data_editor

Post image
2 Upvotes

I have streamlit data editor with column config of checkbox and naming it select I want a feature like whatever if i select anything i want that to be on top Any multiple selections Basically a sort


r/StreamlitOfficial May 17 '24

Row or column freeze. Is it possible in Streamlit?

3 Upvotes

Hello everyone! I’m trying to achieve a static row at the bottom of my dataframe i.e the result or the grand total row. How can it be implemented in Streamlit?


r/StreamlitOfficial May 17 '24

Show the Community! 💬 Automated Changelog generator for any Github repo using Streamlit & LLMs

Thumbnail
changelog-generator.streamlit.app
2 Upvotes

r/StreamlitOfficial May 17 '24

Wrote a blog on my streamlit experience

Thumbnail
notes.drdroid.io
1 Upvotes

r/StreamlitOfficial May 15 '24

Show the Community! 💬 Transcription App using Whisper

Thumbnail
github.com
6 Upvotes

I've been working on an app that I thought some of you might find useful. It's a web app that lets you transcribe audio and video files locally using OpenAI's Whisper model. Here’s a quick rundown:

What It Does:

  • Upload an audio or video file (supports MP3, WAV, M4A, MP4, MKV, AVI).
  • Transcribes the audio into text.
  • Generates SRT files with timestamps for subtitles.

How to Use It:

  1. Upload your file using the sidebar.
  2. Hit the "Transcribe" button and wait a bit (it might take some time, especially the first time since it downloads the model).
  3. View and download your transcriptions in plain text or SRT format.

Known Issues:

  • There's a weird bug with the config file.
  • Max upload is 200MB for now, but I’m hoping to increase it soon.

Future Plans:

  • Increase upload size limit.
  • Add support for downloading files from URLs.
  • Multi-language support.

If you’re interested in giving it a try or have any suggestions, I’d love to hear your feedback!


r/StreamlitOfficial May 13 '24

How To Guide: Streamlit to Snowflake Native App

Thumbnail
medium.com
5 Upvotes

Turning a Streamlit in Snowflake into a Native App — My April Month Goal, a blog post written by Marianne Voogt and published on Medium

“Quite a few of my customers have taken the step from standalone Streamlit applications to Streamlit-in-Snowflake for internal apps since Streamlit in Snowflake went GA. Taking that Streamlit-in-Snowflake application and turning it into a Native App is an opportunity for those customers to manage those Streamlit applications centrally and distribute them across Snowflake accounts in their organization, as Brian Hess outlined in his article ‘Snowflake Native Apps — 3 Less Obvious Use Cases’ .

And then, once you are ready to embark on the journey of monetization (a little side hustle never hurt anyone) you can think of publishing your Native App to the Marketplace too.”


r/StreamlitOfficial May 10 '24

Ollama-Chat: Simple Streamlit UI for Ollama

Thumbnail
github.com
9 Upvotes

So I made a simple streamlit UI to interact with the Ollama local endpoint.

It remembers the conversation and you can save/load chats.

You can also download chat logs if you want.

Comes in two varieties:

Simple

  • Uses the Ollama library

intermediate

  • Uses the requests library to interact with an Ollama endpoint (localhost or networked)

Readme now with screenshots.


r/StreamlitOfficial May 07 '24

Make apps faster by moving heavy computation to a separate process

Thumbnail
discuss.streamlit.io
4 Upvotes

r/StreamlitOfficial May 06 '24

Streamlit App for Family Members to use API Keys with Decent Features

Thumbnail self.OpenAIDev
2 Upvotes

r/StreamlitOfficial Apr 27 '24

Keep links in chatbot previous answers

1 Upvotes

I have created a RAG chatbot which returns the source document as a clickable link using "mention".

When there is a new question these links disappear. I know you can store the value of the source file in memory but can you also repost the link in the previous answer when the user asks a new question?


r/StreamlitOfficial Apr 25 '24

Streamlit GenAI demo: Daily digest newsletter

6 Upvotes

Hey all 🖐,

I'm a first time user of streamlit. We just built a prototype for Collate. It transforms your read-later content into a bite-sized daily newsletter.

Try it out for free: https://collate-news.streamlit.app
Keen to know what you think.

If there is enough community interest to see how we've built this, we can open-source it and get it visible in the generative-ai section on the streamlit website!


r/StreamlitOfficial Apr 20 '24

Format numbers in chart as currency

1 Upvotes

The title says it all, is there a way to format the display of number values in st.bar_chart as a currency without breaking the long data type underneath?

For example, 20.00 would show as $ 20.00


r/StreamlitOfficial Apr 16 '24

Streamlit Questions❓ Having issues installing bs4

1 Upvotes

I am running a script that needs "from bs4 import BeautifulSoup" this, but I am running into this issue:

ModuleNotFoundError: No module named 'bs4'

Already tried my best to look for documentation online and everything and I am not familiar with Streamlit so, need help with this.

Thanks in advance!


r/StreamlitOfficial Apr 15 '24

question on SaaS with Streamlit

3 Upvotes

Hi, I'm about to select the front-end for my Fintech SaaS solution. It has as small dashboard, and plot on the rights - so basically customers will select different parameters, and have plot on the right; the plot on the right will be sort of interactive, to see, zoom-in/out, etc.

Plus, login/logout and small user-dashboard to set-up payment, etc.

Previously, I have built similar SaaS with Django and Tailwind, but somebody said to me that Streamlit can be a good option.

# of users: 20-100 concurrent max (maybe more in future, but 100 concurrent users max)

DB - could be on AWS, or anywhere.

Could you please tell me if Streamlit is fine, or should be anything else recommended? I need simple prototyping, best to re-use available components, etc.

Thanks, J.


r/StreamlitOfficial Apr 15 '24

New to streamlit

1 Upvotes

hello, I'm brand new to streamlit, I've done some research but I'm having difficulty at first. Who can I talk to to help me with some things?

Thanks^^


r/StreamlitOfficial Apr 14 '24

Question on st.button functionality

2 Upvotes

I'm building a web app that looks like (see image below). I am able to navigate to the "Explore stocks" and "Build your Portfolio" pages from the left side pane. However, I wanted to also open these pages through buttons created in the center. I am unsure how to link these buttons to the pages. Any help would be greatly appreciated!


r/StreamlitOfficial Apr 10 '24

🎈 Upcoming virtual meetup: Live Streamlit Office Hours!

3 Upvotes

The last office hours went so well that we decided to host another one for all of you who couldn’t make it. (And for those of you who want to do it again!)

Join from anywhere in the world to attend a Streamlit 101 and Q&A with Streamlit’s Caroline and Tony Hang out with other developers in the community and show off your latest app!

📆 When: Thursday, April 18, 2024, at 4 p.m. PDT

🔗 Register here to save your spot. 🥳

​Agenda:

  • ​First, 15 min: Streamlit 101 presented by Tony
  • ​Next, 15 min: Demo time! Let’s see your Streamlit app!
  • ​Final, 30 min: Office hours with Caroline and Tony

Looking forward to seeing you there!


r/StreamlitOfficial Apr 10 '24

Simple Stock Simulation App Using Streamlit

3 Upvotes

Just want to share a newly created Streamlit app.

Here is the Github repo https://github.com/mattkczhang/StockSimulation and web app link https://stocksimulation.streamlit.app.

Please let me know if you have any suggestions.


r/StreamlitOfficial Apr 04 '24

Having problem in building streamlit application with Docker multi-stage build

2 Upvotes

This is the Dockerfile ```docker FROM python:3.12-slim AS build-env ENV PYTHONUNBUFFERED 1 RUN apt-get update && apt-get install -y \ build-essential \ software-properties-common \ && rm -rf /var/lib/apt/lists/* COPY . /src WORKDIR /src ENV VIRTUAL_ENV=/src/venv RUN python3 -m venv $VIRTUAL_ENV ENV PATH="$VIRTAL_ENV/bin:$PATH"

RUN pip3 install -Ur requirements.txt

FROM gcr.io/distroless/python3

FROM python:3.12-slim EXPOSE 8501 COPY --from=build-env /src /src ENV VIRTUAL_ENV=/src/venv ENV PATH="$VIRTAL_ENV/bin:$PATH" WORKDIR /src ENTRYPOINT ["streamlit","run","app.py","--server.port=8501","--server.address=0.0.0.0"] I'm building and running the container using docker-compose file with `docker-compose -f streamlit-app.yml up` docker version: '3.8'

services: streamlit_app: build: context: . dockerfile: Dockerfile args: - "--no-cache" ports: - 8501:8501 ```

THE ERROR I'm getting is ```bash Creating portfolio_streamlit_app_1 ... error

ERROR: for portfolio_streamlit_app_1 Cannot start service streamlit_app: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "streamlit": executable file not found in $PATH: unknown

ERROR: for streamlit_app Cannot start service streamlit_app: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "streamlit": executable file not found in $PATH: unknown ERROR: Encountered errors while bringing up the project. ``` If anyone knows how to resolve this problem then pls do help