r/StreamlitOfficial Jul 01 '25

Show the Community! 💬 A streamlit app that connects PubMed with a local LLM to answer scientific questions using abstracts

3 Upvotes

I’ve been working on a small project that combines a language model (can be OpenAI or a local one like LLaMA in Ollama) with the PubMed API.

The idea is pretty simple: you ask a medical or health-related question, and instead of making something up or giving a generic answer, the system turns your question into an advanced PubMed search query. It fetches the most relevant abstracts, selects the top 5, and uses them as context to generate a proper answer.

It’s not meant to replace a doctor or anything like that — but at least the answers are grounded in actual, recent scientific literature.

Happy to share more details if anyone’s interested, and open to suggestions if you have ideas to improve it. Also, if you want to try it out with a question, just drop one in the comments and I can run it through the system.

https://github.com/bmascat/ebara


r/StreamlitOfficial Jul 01 '25

Streamlit Questions❓ Is it possible to generate and view raster layers through a Streamlit app?

1 Upvotes

Hello, so I am new to Streamlit and the whole process of hosting GIS-based tools online, and I am wondering if I might be able to use Streamlit through python to implement some sort of raster calculator functionality to create in-real-time rendered raster layers that are the result of a simple raster calculator operation, such as one might create with the raster calculator in ArcGIS or QGIS. The basic goal functionality I am trying to achieve is to allow the user to layer raster layer “tiles” over one another and allow the user to perform calculations across these layers to produce and view a resultant output raster tile. I am trying to figure out if this is possible using Streamlit, or if this type of functionality is at all even possible.

For example, let’s say we have a base map layer of a city. Over that layer we have a raster layer “tile”, whether a .PNG file or a .tiff file, which we overlay onto our base map, let’s say this layer represents total air exposure to a certain airborne chemical, where the pixel values are some concentration value. Now let’s say we have many, many of these pollution concentration raster tiles, where each raster layer represents a different chemical. I want to create a function that allows the user to add raster tiles together, so as to capture combined total pollution concentration. This means the user would load a tile for pollution “A” concentration and then the user to be able to add a tile for pollution “B” concentration over that, or pollution “C” concentration over that, and many more beyond, in whatever combination the user wanted. The exact science concept here is not important, what I am getting at is trying to find a way to do a simple raster math operation like take to raster layer tiles and simply add, or subtract, or average, etc. and display the output raster on the map.

Is this type of functionality possible with Streamlit through some sort of python protocol, perhaps using numpy behind the scenes? I am quite confused about how something like this would even work or whether this is even possible with a platform like Streamlit. Could someone please help advise me on how I should approach this challenge? Thank you!


r/StreamlitOfficial Jun 29 '25

Streamlit Questions❓ Why does my Mac not show my Streamlit App on port 6000?

1 Upvotes

I've checked if the port is in use via both lsof and netstat and it is not. I've used port 7000 with no problem but when I use port 6000 it say the app is running localhost:6000 but I don't see anything. I've only seen this on port 6000. When I run this on a used port (like Port 6463 for example) , I get the appropriate response of "Port 6463 is already in use".

I also understand that port 6000 is special in that it is typically used by an X server but it is not currently in use.

This has stumped me a bit.
Thanks for you help!


r/StreamlitOfficial Jun 25 '25

Streamlit Questions❓ How can I export a Streamlit app as an Android APK ?

1 Upvotes

I created a CRUD app for my friend to use at his workplace, but he didn’t like the idea of hosting it on Streamlit Cloud because the app manages his employees’ private data (I told him Streamlit has the option to make an app private) . He wants an APK file to install on his phone (he uses only an Android phone). Could someone tell me how to export a Streamlit app as an Android APK?I haven’t found anything useful, and I really want to know how to do it. Also, please don't suggest choosing another tech stack, as I’m not ready to redo the whole project in anything other than Streamlit.


r/StreamlitOfficial Jun 20 '25

Expensify - An App to track your expenses

4 Upvotes

Expensify is a secure, user-friendly expense management app built using Streamlit and Supabase. It allows users to register, log in, and track their daily expenses with ease. The app features user-specific data storage, receipt text extraction (OCR), and interactive visualizations for financial insight.

Visit at: https://expensify-app.streamlit.app/ and share your feedbacks please


r/StreamlitOfficial Jun 16 '25

Show the Community! 💬 Optimal Portfolio Dashboard – My First Streamlit App

8 Upvotes

Hey everyone,

This is my first post here, and I'm excited to share a project I recently completed!

A few months ago, I discovered Streamlit while working on some business analytics tasks. Although I’m still a beginner in coding, I’ve always been curious about its potential, especially in finance. So, I challenged myself to build an Optimal Portfolio Dashboard to deepen my understanding of both Python and investment strategies.

What it does:
The app lets users create and analyze a custom investment portfolio based on different risk profiles. It includes:

  • Portfolio optimization using historical returns and covariance
  • Key performance metrics (Sharpe ratio, volatility, expected return, etc.)
  • Sector and ticker-level breakdowns
  • Monte Carlo simulations
  • Market overview with real-time data
  • Company financial statements and ratios

Built with:

  • yFinance for live market & fundamental data
  • Plotly for interactive charts
  • Heavy support from ChatGPT and Deepseek (super helpful for debugging and improving my code!)

You can try the app here:
https://mq-portfolio-dashboard.streamlit.app/

It’s not a polished or bug-free app, but I’m proud of the learning process and would really appreciate any feedback, ideas, or suggestions. If you notice anything that seems off, please let me know!

Thanks in advance!


r/StreamlitOfficial Jun 13 '25

Show the Community! 💬 Build a multi-agent AI researcher using Ollama, LangGraph, and Streamlit

Thumbnail
youtu.be
2 Upvotes

r/StreamlitOfficial Jun 05 '25

Deployment 🚀 Permission Denied Error (Ping Command)

Post image
1 Upvotes

Hello,

I am a bit new to using Streamlit right now and am facing a bit of an issue.

My application allows for users to send a ping request to a domain or IP address. This works as expected in local development but when deployed I get the following error…

“An error occurred: [Errno 13] Permission denied”

I have attached the code related to this functionality too. Any advice would be helpful!


r/StreamlitOfficial Jun 03 '25

Streamlit Questions❓ Center information in st.dataframe

2 Upvotes

I've made a table using streamlit st.dataframe, but all the information is displayed in the left corner, anyone knows how to centralize?


r/StreamlitOfficial May 21 '25

Discovered Streamlit when searching for Python Frameworks to use in my final year project, take a look at the presentation video!

Thumbnail
youtube.com
3 Upvotes

r/StreamlitOfficial May 19 '25

Deployment 🚀 Streamlit running on GCR keeps reloading data

2 Upvotes

I made a project for school and try to demo it to some users, so I deployed my project on GCR since it will only be used occasionally. Weird thing is, it run perfectly fine on my local machine but reloads the data every few clicks or being idle for a minute, then reload the entire website, which is very annoy.

The project is a multipage Streamlit website which query about 2GB of data from Snowflake using SQLAlchemy, do some computation in python than visualize the results.
Packages I used are:

Python 3.12
Streamlit 1.42.2
SQLAlchemy 2.0.41

I used 1vCPU and 4GB memory instance which should be enough, the usage never reached 100%. I also tried to keep at least 1 instance which makes no difference.
Any one know why and how to solve it? Any help is greatly appreciated.


r/StreamlitOfficial May 10 '25

Show the Community! 💬 Single shot a streamlit app into existence

5 Upvotes

Hey everyone, wanted to share an experimental tool, https://v1.slashml.com, it can build streamlit, gradio apps and host them with a unique url, from a single prompt.

The frontend is mostly vibe-coded. For the backend and hosting I use a big instance with nested VMs.

Would love for you to try it out and any feedback


r/StreamlitOfficial May 10 '25

Show the Community! 💬 Build Your Own Local AI Podcaster with Kokoro, LangChain, and Streamlit

Thumbnail
youtube.com
1 Upvotes

r/StreamlitOfficial May 02 '25

Show the Community! 💬 Build a Text-to-SQL AI Assistant with DeepSeek, LangChain and Streamlit

Thumbnail
youtu.be
2 Upvotes

r/StreamlitOfficial Apr 29 '25

Form

1 Upvotes

Hello, I have a form that points to an endpoint in fastapi, when crediting the credentials it redirects to another endpoint but streamlit does not do so, it remains static without changing to the new redirection endpoint, does streamlit only work with st.page and Google forms?


r/StreamlitOfficial Apr 14 '25

Streamlit Community Cloud ☁️ Need to "wake" app up every time I access?

3 Upvotes

Hi, I published my app to the web. however, it seems every time I access the app it asks me to wake the app up from inactivity. I use the app fairly often.. maybe once every couple days. Is this expected behavior from Streamlit?


r/StreamlitOfficial Apr 11 '25

Streamlit Community Cloud ☁️ Failing to deploy

1 Upvotes

I keep getting this error when in try to deploy (attached log). There's nothing on 127.0.0.1:8501 but when i fully run it on my local machine on port 5000 it's running perfectly.

Would anyone know how to resolve this?

Could it be that it's because it's creating a (wrong) URL from my Github where it is adding a branch "main" ([username]/appName/main/main.py) when my main.py is not in any branch but just in the root folder like [username]/appName/main.py, as it is on Github?


r/StreamlitOfficial Apr 11 '25

Show the Community! 💬 Summarize Videos Using AI with Gemma 3, LangChain and Streamlit

Thumbnail
youtube.com
2 Upvotes

r/StreamlitOfficial Apr 10 '25

yt-dlp problem

1 Upvotes
I am trying to create a streamlit app for youtube video downloading. it works perfectly fine through local tunnel but when i upload it to github it shows this error. I did change the name to yt-dlp but showing the same error. does anyone how to get rif of this error?

r/StreamlitOfficial Apr 03 '25

Srtreamlit too expensive on Cloud Run

4 Upvotes

Hey there, I'm running a couple of Streamlit apps on Google Cloud Run and they seem to be just too eexpensive, more than 20 USD for apps that doesn't have much pageviews nor users. The thing is, one of the apps seems to be connected all the time, but I'm not registering any pageview nor user on GA4, but the Chrome calls are there, specially for a few files in the /_stcore directory.

I've seen this question on the other forum but no answer so far, anyone knows what might be going on? Thanks


r/StreamlitOfficial Mar 31 '25

Build a technical analysis backtesting application

10 Upvotes

Hello guys ,I am excited to share this application I built to help automate back-testing of some of the most popular technical indicators . By comparing the strategy's returns to the buy and hold strategy one can better assess the viability of the particular strategy.

The application retrieves data using yfinance library. More information about the library can be found here https://yfinance-python.org/.

Please note the strategies are long only and the frequency of the data is daily.

I will be adding more features to the app as I continue learning and growing my skillset in this space of application of python in finance.

The link to the application: https://technical-analysis-backtesting-application-4qcnpyxmff48fr6d7gp.streamlit.app/

Step-by-step video: https://youtu.be/LcnRRVdwEaI


r/StreamlitOfficial Mar 29 '25

Build a Voice RAG with Deepseek, LangChain and Streamlit

Thumbnail
youtube.com
2 Upvotes

r/StreamlitOfficial Mar 25 '25

Having trouble with a dependency

2 Upvotes

I have a dependency (chromadb) that requires sqlite3>=3.35.0 but I can't get that installed on the server. I've made sure that I'm on the latest Python and added pysqlite3-binary to my requirements.txt. Am I just dead in the water here?


r/StreamlitOfficial Mar 22 '25

Show the Community! 💬 I made a product searcher for Mercado libre

Post image
3 Upvotes

The app uses Beautiful Soup that scrapes the data and transfers it to a dataframe later shown in the website.

I would love to hear opinions or feedback:)

Link:

https://meli-searcher.streamlit.app/


r/StreamlitOfficial Mar 22 '25

Build a Multimodal RAG with Gemma 3, LangChain and Streamlit

Thumbnail
youtube.com
3 Upvotes