Questions tagged [streamlit]

Questions about Streamlit and custom machine learning models in Streamlit.

Streamlit lets you create apps for your machine learning projects with deceptively simple Python scripts. It supports hot-reloading, so your app updates live as you edit and save your file. No need to mess with HTTP requests, HTML, JavaScript, etc. All you need is your favorite editor and a browser. Learn more at https://github.com/streamlit/streamlit.

1822 questions
0
votes
1 answer

Can we create shapes in streamlit [Python]

I need to add shapes in streamlit like square, triangle ,circle is it possible in any way like maybe with the use of html, css or some direct vote,
0
votes
1 answer

Streamlit always loads a blank page

I'm using streamlit for in my python script and noticed that streamlit is always loading a blank page when running my streamlit app as shown below Even when I tried to run streamlit hello it gave me the same blank page. The streamlit version I was…
0
votes
7 answers

Why isn't streamlit running in VScode?

I installed streamlit in VScode, and tried to run this. import streamlit as st st.title("Hello") But I dont get streamlit to pop up in a new browser, instead I get this message in the terminal. Is this something to do with my files? Warning: to…
0
votes
0 answers

run streamlit app using Network URL not working

I have streamlit app that i try to run on my localhost and work fine but when i try to use the NETWORK URL on other computer it did not work and just display white blank page like below : PS: All the computers are offline they are not connected to…
DevLeb2022
  • 653
  • 11
  • 40
0
votes
2 answers

Turn Data from Streamlit into CSV file

I have the script below I typed in Pycharm for my Streamlit Data app: import pandas as pd import plotly.express as px import streamlit as st st.set_page_config(page_title='Matching Application Number', layout='wide') df =…
Romeo Botanpi
  • 51
  • 1
  • 6
0
votes
1 answer

Why can I not add a column in csv file to dataframe.query() with streamlit library?

I am new to python and have historically used php, but I am working on building a simple dashboard in python mainly using pandas and streamlit just to get more familiar with the language, but am hung up on something that feels so simple. The web app…
0
votes
1 answer

Deploying ML model on Streamlit

I have a code that basically takes in a csv, which can be uploaded from streamlit and then pushes out a classification prediction. Just as a context I use xgboost to create my model and I save it as following: joblib.dump(model,…
mblume
  • 243
  • 1
  • 3
  • 11
0
votes
1 answer

Streamlit with Poetry running in Docker locally but not on Cloud Run

I encountered that I was able to run the Dockerfile below on my local device without any issues, but on Cloud Run it fails with the following error in the logs: The Dockerfile looks like this: FROM debian:stable-slim WORKDIR /root RUN apt-get…
0
votes
1 answer

Conditions not working inside Streamlit forms

I'm working on a dashboard using Streamlit in python. I have a form to make some filters, and this form has some radion buttons with different conditions for each one. The conditions are working perfectly outside the form, however, anything happens…
Joicy Xavier
  • 13
  • 1
  • 3
0
votes
1 answer

empty page (root div) when using streamlit

I want to run a streamlit application and for starting I run "streamlit hello" on the console it shows: my .streamlit/config.toml is: [server] enableCORS = false enableXsrfProtection = false and when I call it by curl the root div is…
itai schwed
  • 399
  • 4
  • 5
0
votes
1 answer

Python Script to Web App Using Heroku and Streamlit

I am attempting to create a web app to heroku. It says that it deploys successfully but when I try to open it I get an error saying to check the console log. There I find the following error code: at=error code=H14 desc="No web processes running"…
Matt
  • 9
  • 1
0
votes
1 answer

How does one hide the the file_uploader in streamlit after the image is loaded?

I am using streamlit and what I am trying to do is to show 2 images in a container with 2 columns. the code is the following: col1, col2 = st.columns(2) with st.container(): with col1: st.header('Top Glass Image') top_image…
reza
  • 5,972
  • 15
  • 84
  • 126
0
votes
1 answer

Python - Markdown Table - Only showing first row in Streamlit

I can try and produce a reproducible example if need be, but thought I would show the code first. I am using Streamlit and a function which takes a JSON file and produces a table from it in markdown: table = f""" |Rank|Title|Value|{"#…
Nicholas
  • 3,517
  • 13
  • 47
  • 86
0
votes
1 answer

Error when importing tensorflow probability on streamlit-cloud

I am new to the streamlit app environment. I am trying to deploy my streamlit app onto streamlit-cloud using the deploy app functionality provided on the site(https://share.streamlit.io/). The app deploys , but throws an error while importing…
0
votes
2 answers

Error using xlwings package with streamlit

I have a streamlit app that allow user to read excel file and try to split each sheet into a different workbook for this I am using the xlwings package when I try to debug the code it crash and display the error below: error…
Ghgh Lhlh
  • 155
  • 1
  • 3
  • 14