Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [streamlit]

Questions about Streamlit and custom machine learning models in Streamlit.

streamlit
0 votes
1 answer
21 views

How do I stream output as it is being generated by an LLM in streamlit python

code: from langchain_community.vectorstores import FAISS from langchain_community.embeddings import HuggingFaceEmbeddings from langchain import PromptTemplate from langchain_community.llms import ...
Ashish Sawant's user avatar
-1 votes
0 answers
9 views

Issue installing building Streamlit dependencies

I am using a 3rd party developed Streamlit app and we have recently migrated to new tech stack. The app will not build the virtual environment. The error is " NameError: name 'file' is not ...
Dwinny 's user avatar
-1 votes
1 answer
24 views

Import stage packages in Streamlit in snowflake

I'm working in snowflake and trying the Streamlit App to built a website. For my requirement, I need to use the polyline which is available in Googlemaps Library. Figured that I'll need to add the ...
silbia's user avatar
  • 31
0 votes
0 answers
33 views

How to add range of floating numbers with select slider in streamlit

I have a sqlite database with longitude values in which range between 24.90000 to 24.99999. The code I'm trying is this: longi_range = np.arange(24.90000, 25.00000) long_range = st.select_slider("...
insight's user avatar
0 votes
0 answers
14 views

NoModule Found error while deploying streamlit app

My codeloanpred_frontend.py which consist of the App which I am trying to Build , apart from pakages I have used config file and the data_handling files requirements.txt #Model -Building ...
0 votes
1 answer
23 views

Opening Streamlit using os.system() command

I am creating an app in Streamlit at work. Because most of the people do not know anything about programming (including how to start Streamlit) I thought to create en executable file with a code that ...
Tokar's user avatar
  • 21
1 vote
0 answers
27 views

Bokeh image select slider on Streamlit

I have a Bokeh app which I want to run in a Streamlit app. I know Streamlit supports certain Bokeh elements, but I am struggling to get my specific Bokeh app working on Streamlit. The Bokeh app is ...
sam_cocha's user avatar
-2 votes
0 answers
41 views

The Else block is not running is any case in python [duplicate]

I am using if else block for conditioning the execution as follows: is_initialized = False def process_interaction(prompt, is_initialized): # No need for global flag if is_initialized == False: ...
Swasti Ranjan's user avatar
0 votes
0 answers
25 views

Build OSMnx Isochrones from h3 hexagon centers in Streamlit

I am trying to develop a Streamlit application that can give you the 15-minute Isochrones from the center of h3 hexagons and add some POIs as markers. This runs very long. I am unsure whether this is ...
Vilerala's user avatar
0 votes
0 answers
10 views

Streamlit Still Running and VAM Method does not appear. should appear under Least Cost Value

`import streamlit as st import pandas as pd import numpy as np Judul aplikasi st.title("PROGRAM MODEL TRANSPORTASI") Bagian input pengguna st.header("Input Data") Input teks ...
Muhammad Renaldi's user avatar
-2 votes
0 answers
21 views

How to format LLM output of my Streamlit + Langchain app like ChatGPT does?

I'm new to langchain and AI , currently developing a PDFRAG app . Currently , I'm able to upload a PDF , ask questions from it , the response is streamed back to me . This is working fine . Now , I ...
Gaurav Pant's user avatar
0 votes
0 answers
39 views

Streamlit - Text color in Menu

When I'm on page 'X' in the menu, the background color changes to a darker shade, and the text turns solid black. However, on the other pages, the text appears in a lighter black, almost as if there's ...
viniwata1's user avatar
0 votes
0 answers
27 views

ValidationError: 1 validation error for GoogleGenerativeAIEmbeddings model field required (type=value_error.missing)

I am trying to integrate the GoogleGenerativeAIEmbeddings from the langchain_google_genai library into my Streamlit application. However, I am encountering a ValidationError related to missing fields ...
Vivek Raj's user avatar
0 votes
1 answer
33 views

Rearranging PDF Pages using python [closed]

I am trying to create a file converter application using streamlit in which i am trying to convert the input files into various file formats, I am stuck with the functionality of rearranging/...
Ravi's user avatar
  • 1
0 votes
0 answers
27 views

Navigate to a different page after login streamlit

I am building a data analysis and visualization web app using streamlit with firebase authentication. The login is successfully but it has failed to switch to the main dashboard page. Here is the code....
coding beast's user avatar

15 30 50 per page
1
2 3 4 5
155