Skip to content

LSabnani/langchain-streamlit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Steps to run the application

To run the application on local machine (clone the repo)

Download the github repo using the below command

git clone https://github.com/jpmc216/langchain-streamlit.git

 

Using container

1. To start the application

docker-compose up -d

2. To stop the application

docker-compose down

 

Using stand-alone application (Python Version >=3.9)

1. Change directory into streamlit

cd streamlit

2. Run the below command to install required packages

pip install -r requirements.txt

3. Run the below command to start the application (This command will automatically open the application in a new browser tab/window)

streamlit run Home.py

  

To run the application on GITPOD instance

Pre-Requisites

  • Open Chrome Browser, click this URL GITPOD and install gitpod chrome plugin.
  • If you have not used gitpod before, you may need to setup an account by clicking here and give permissions to access your github/gitlab/bitbucket account.

Steps

  1. Open the source code repo either on the same/new chrome tab/window.
  1. You should see the GITPOD button like this image
  1. Click on Gitpod button to open the repo on gitpod infrastructure. This will open a VS Code like IDE inside a browser.
  1. Gitpod's start up script (.gitpod.yml) will take care of building and running the container (This will roughly take 3-4 mins).
  1. Go to "Ports" view and click the link that starts with "https://8000-" to open the app in a new browser tab/window. image
  1. If you would like to share the application URL publicly, do a right click on the "State" section and make it public image

About

Data Analysis Chatbot using Langchain that accepts CSV files as Input

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 92.3%
  • Dockerfile 7.7%