streamlit Questions

2

Solved

I have built a dashboard in streamlit where you can select a client_ID and have SHAP plots displayed (Waterfall and Force plot) to interpret the prediction of credit default for this client. I also...
Maymaya asked 27/8, 2021 at 9:2

5

I am new to Streamlit. I want to make a multiple-choice user input (checkboxes). But I want to select a maximum of 3 options out of 4 options. I have tried with the dropdown feature of multiselect....
Whelm asked 20/3, 2021 at 4:24

2

I am building an application in streamlit that, for several reasons, cannot be hosted on a server. The most blocking reason is that it should also work without internet access. Therefore, I would l...
Closing asked 18/12, 2020 at 12:39

8

How do I center a button with Streamlit so that the button is still clickable? Here is a small example for a button that returns random numbers: import streamlit as st import numpy as np if s...
Shanaeshanahan asked 26/2, 2020 at 10:10

9

I'm trying to run streamlit application(python 3.7.3) after installing it shows that error streamlit hello File "<ipython-input-2-c7a1b683aa76>", line 1 streamlit hello ^ Syntax...
Hipolitohipp asked 26/3, 2020 at 11:28

5

Solved

I was builting a web app with streamlit, OpenCV and Torch on local machine. The whole project went well until I built a Docker file and was about to transport it to my Google Cloud Platform. Can an...
Mcgehee asked 8/7, 2020 at 1:2

2

When I launch my Streamlit application using the command "streamlit run streamlit_test.py", I noticed that the logs are printed multiple times. However, when I refresh the browser, the lo...
Kylakylah asked 14/6, 2023 at 14:38

7

I have an error when I deploy streamlit app on Heroku. How can I deal with ?
Waugh asked 28/6, 2021 at 11:0

8

I previously deployed an app on Streamlit Cloud that utilized chromadb. The app worked fine in the past. However, today I encountered a new error (as indicated in the title) and the app has stopped...
Coolie asked 23/8, 2023 at 6:31

4

I am making a python-based web app using Streamlit. After deploying it in Heroku, the build succeeds but there is an application error. I don't have any idea where in the source code this error is ...
Yokefellow asked 18/7, 2022 at 19:11

4

I am writing a webapp where the user will click on the map and the latitude, longitude will be returned to the python script. the webapp is written on streamlit and for the map I am using folium. C...
Kohn asked 14/8, 2020 at 13:19

4

I've already tried the command below for the title and I couldn't. For the image, I just managed to center it by increasing the size so that it fills the entire page. Are there any arguments to st....
Colan asked 31/1, 2022 at 20:38

2

I am trying to display a Streamlit/Hydralit component but, as soon as I deploy it on Cloud Run, I encounter this timeout error (never encountered locally): Your app is having trouble loading the h...
Sayyid asked 8/4, 2022 at 14:44

2

I am trying to use session state in streamlit to have a two nested button in which first button click shows recommended movies and second submit button submits a review by user on which a model of ...
Carper asked 27/9, 2022 at 6:42

11

Solved

I really like streamlit as an environment for research. Mixing a notebook/dashboard-like output I can design quickly with pure code for its definition (no cells etc.) as well as the ability to infl...
Archdeacon asked 11/2, 2020 at 15:26

4

I try to install metaploit, but every time I get errors and I can't get it to work. During installation I get the following error code: pip install --upgrade streamlit (Deleted a lot of irrelevant...
Alcestis asked 30/10, 2022 at 14:50

6

Solved

Is there a way to run the command streamlit run APP_NAME.py from within a python script, that might look something like: import streamlit streamlit.run("APP_NAME.py") As the project I'm...
Advocation asked 6/7, 2020 at 17:0

4

Solved

Hi all I am building a simple web app with streamlit in python. I need to add 3 buttons but they must be on the same line. Obviously the following code puts them on three different lines st.button(...
Hu asked 8/10, 2021 at 7:56

3

Solved

I want to use some pandas style resources and I want to hide table indexes on streamlit. I tryed this: import streamlit as st import pandas as pd table1 = pd.DataFrame({'N':[10, 20, 30], 'mean':[...
Russom asked 7/11, 2021 at 19:11

2

I am attempting to display a clickable hyperlink inside a dataframe containing filtered results on Streamlit. This is my code so far: import pandas as pd import streamlit as st import openpyxl impo...
Animism asked 28/3, 2022 at 1:54

3

Solved

I am using MAC and downloaded the streamlit package using conda-forge. I am getting an error message as below. from streamlit.cli import main ModuleNotFoundError: No module named 'streamlit.cli' ...
Lacroix asked 27/8, 2022 at 21:29

3

Solved

I am new to streamlit. I tried to set a default value for sidebar.selectbox. The code is below. I appreciate the help! Thank you in advance. st.sidebar.header('Settings') fichier = st.sidebar.sele...
Birdwell asked 26/11, 2020 at 17:35

2

I have built an airbnb machine learning model to predict prices for Singapore. Using pickle, I've serialised the trained model in python 3.9 and pushed it to github. The streamlit web app located h...
Iodine asked 4/7, 2023 at 13:6

1

Can I pick folder with Streamlit? file_uploader provides to choose a file, but not a folder. I can not select directory with file_uploader in Streamlit. But I want to save the dataframe to the fol...
Kenwee asked 25/9, 2022 at 18:22

2

I'd like to capture a text in a streamlit text_area widget (for instance, but any widget that produces input should work the same), and pass the captured text to the callback. How could I do that ?...
Heedless asked 10/5, 2022 at 8:17

© 2022 - 2024 — McMap. All rights reserved.