Home/LLM Frameworks/langchain-gradio-template
langchain-gradio-template logo

langchain-gradio-template

Enrichment pending
hwchase17/langchain-gradio-template

langchain-gradio-template

GraphCanon updated today · GitHub synced today

137
Stars
30
Forks
2
Open issues
3
Watchers
3y
Last push
PythonCreated Jan 9, 2023

Trust & integrity

Full report
Maintenance
Dormant (1268d since push)
As of today · Source: github_public_v1
Provenance
Not a fork · Personal account
As of today · Source: github_public_v1
Security (OSV)
No criticals
As of today · Source: osv@v1

Public GitHub metadata and optional OSV dependency scans. Signals, not a guarantee. Trust methodology.

Capability facts

Languages
python

Source: github.language · Jul 11, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

LangChain integrationLangChain

Source: README excerpt (regex_v1, Jul 11, 2026)

# LangChain-Gradio Template
Source link

Tags

README

LangChain-Gradio Template

This repo serves as a template for how to deploy a LangChain on Gradio. This is particularly useful because you can easily deploy Gradio apps on Hugging Face spaces, making it very easy to share you LangChain applications on there.

This repo contains an app.py file which has a template for a chatbot implementation. This was heavily inspired James Weaver's examples.

Adding your chain

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

Deploying to Hugging Face spaces

To deploy to Hugging Face spaces, you should first create a new Gradio space on Hugging Face. From there, you can then copy over the app.py file here, and the requirements.txt. Do not copy over this ReadMe - Hugging Face spaces requires a ReadMe in a particular format.