{"data":{"slug":"hwchase17-langchain-gradio-template","name":"langchain-gradio-template","tagline":"Template for deploying LangChain on Gradio","github_url":"https://github.com/hwchase17/langchain-gradio-template","owner":"hwchase17","repo":"langchain-gradio-template","owner_avatar_url":"https://avatars.githubusercontent.com/u/11986836?v=4","primary_language":"Python","stars":138,"forks":30,"topics":[],"archived":false,"github_pushed_at":"2023-01-19T21:24:11+00:00","maintenance_label":"Dormant","stars_delta_30d":1,"url":"https://www.graphcanon.com/tools/hwchase17-langchain-gradio-template","markdown_url":"https://www.graphcanon.com/tools/hwchase17-langchain-gradio-template.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/hwchase17-langchain-gradio-template","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=hwchase17-langchain-gradio-template","description":null,"homepage_url":null,"license":null,"open_issues":2,"watchers":3,"ai_summary":"A template repository to help deploy LangChain applications on Gradio, making it easy to share them via Hugging Face Spaces. It includes an `app.py` file with a chatbot implementation setup.","readme_excerpt":"# LangChain-Gradio Template\n\nThis repo serves as a template for how to deploy a LangChain on Gradio.\nThis is particularly useful because you can easily deploy Gradio apps on Hugging Face spaces, \nmaking it very easy to share you LangChain applications on there.\n\nThis repo contains an `app.py` file which has a template for a chatbot implementation.\nThis was heavily inspired [James Weaver's examples](https://huggingface.co/JavaFXpert).\n\n## Adding your chain\nTo add your chain, you need to change the `load_chain` function in `app.py`.\nDepending on the type of your chain, you may also need to change the inputs/outputs that occur later on (in the `chat` function).\n\n## Deploying to Hugging Face spaces\nTo deploy to Hugging Face spaces, you should first create a new Gradio space on Hugging Face.\nFrom there, you can then copy over the `app.py` file here, and the `requirements.txt`.\nDo not copy over this ReadMe - Hugging Face spaces requires a ReadMe in a particular format.","github_created_at":"2023-01-09T03:41:31+00:00","created_at":"2026-07-11T10:48:00.106066+00:00","updated_at":"2026-08-15T00:01:41.646334+00:00","categories":[{"slug":"developer-tools","name":"Developer Tools","url":"https://www.graphcanon.com/categories/developer-tools","markdown_url":"https://www.graphcanon.com/categories/developer-tools.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/developer-tools"},{"slug":"inference-serving","name":"Inference & Serving","url":"https://www.graphcanon.com/categories/inference-serving","markdown_url":"https://www.graphcanon.com/categories/inference-serving.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/inference-serving"}],"tags":[{"slug":"gradio","name":"gradio"},{"slug":"hugging-face-spaces","name":"hugging face spaces"},{"slug":"langchain","name":"langchain"},{"slug":"python","name":"python"}],"trust":{"provenance":{"is_fork":false,"github_id":586716939,"owner_type":"User","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-08-15T00:01:40.810Z","maintenance":{"label":"Dormant","score":18,"methodology":"github_public_v1","releases_90d":0,"days_since_push":1303,"last_release_at":null,"stars_delta_30d":1,"open_issues_delta_30d":0},"security_summary":{"status":"ok","scanner":"osv@v1","low_count":0,"high_count":0,"last_scan_at":"2026-07-11T10:48:03.908Z","medium_count":0,"scan_profile":"deps","critical_count":0}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-08-15T00:01:41.300Z"},"languages":{"value":["python"],"source":"github.language","observed_at":"2026-08-15T00:01:41.300Z"}},"decision_facts":{"hosting":null,"pricing":{"model":"unknown","summary":"Pricing details are undefined as no license detail is apparent."},"requirements":null,"constraints":{"pricing_model":"unknown"},"when_to_use":["When you are looking for a specific template that simplifies the deployment of LangChain chatbots onto Gradio interfaces.","You want to quickly create and deploy interactive AI components using Gradio's framework, leveraging Hugging Face Spaces without diving deep into deployment specifics."],"when_not_to_use":["If you require more customization options for your application that goes beyond what the template `app.py` supports or offers.","When aiming for a platform other than Hugging Face Spaces to deploy and share your LangChain applications, as this tool is tightly integrated with Gradio’s deployment on Hugging Face."],"source":"enrich:decision_facts","observed_at":"2026-07-12T09:41:02.952Z"},"constraint_facets":{"pricing_model":"unknown"},"decision_summary":[{"label":"Pricing","value":"unknown - Pricing details are undefined as no license detail is apparent."},{"label":"Adopt for","value":"This is specifically crafted for developers seeking an efficient way to deploy LangChain applications on Gradio and easily share them via Hugging Face Spaces."},{"label":"License detail","value":"License information is not provided explicitly in the repository."}]}}