File size: 1,234 Bytes
6694862
4169230
 
6694862
 
 
 
 
 
 
 
 
 
 
7544520
 
7077707
46109a1
7077707
 
0f8ae1b
7077707
 
 
 
 
0f8ae1b
46109a1
0f8ae1b
bb63e70
0f8ae1b
46109a1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
---
title: Langchain Crash Course (Gradio)
emoji: πŸ”—
colorFrom: yellow
colorTo: indigo
sdk: gradio
sdk_version: 4.20.0
app_file: app.py
pinned: false
license: mit
---

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

![langchain crash course with gradio](langchain-crash-course-gradio.png)

# Introduction

This repository contains the code for generating a restaurant name and menu items based on an input cuisine.
It makes use of [LangChain](http://www.langchain.com) and OpenAI's chatGPT API, along with [Gradio](http://gradio.app) to serve an application.

The original [LangChain Crash Course For Beginners tutorial](https://www.youtube.com/watch?v=nAmC7SoVLd8&list=PLeo1K3hjS3uu0N_0W6giDXzZIcB07Ng_F&ab_channel=codebasics) by [@codebasics](https://twitter.com/codebasicshub) used an older version of LangChain and Streamlit for the app.

The code here uses updated libraries and Gradio in place of Streamlit.

# Demo

You can play around with the demo app on [this Hugging Face Space](https://huggingface.co/spaces/chongdashu/langchain-crash-course-gradio)

# Acknowledgements

The code is based on original tutorial series by [@codebasics](https://twitter.com/codebasicshub).