Skip to content

Example Streamlit app that you can fork to test out share.streamlit.io

Notifications You must be signed in to change notification settings

gutama/streamlit-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

LangChain-Streamlit Template

This repo serves as a template for how to deploy a LangChain on Streamlit.

This repo contains an main.py file which has a template for a chatbot implementation.

Adding your chain

To add your chain, you need to change the load_chain function in main.py. Depending on the type of your chain, you may also need to change the inputs/outputs that occur later on.

Deploy on Streamlit

This is easily deployable on the Streamlit platform. Note that when setting up your StreamLit app you should make sure to add OPENAI_API_KEY as a secret environment variable.

About

Example Streamlit app that you can fork to test out share.streamlit.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%