File size: 1,741 Bytes
4e37d29
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
---
title: "🍽️ Restaurant Menu Generator"
emoji: "🍜"
colorFrom: "indigo"
colorTo: "pink"
sdk: gradio
sdk_version: "4.24.0"  # (or leave blank to use latest)
app_file: app.py
pinned: true
---

# 🍽️ AI Restaurant Menu Generator

An AI-powered app that:
- Suggests a fancy restaurant name based on the cuisine type.
- Generates a structured fine-dining menu (Starters, Main Course, Drinks with suggested prices).

Built using **LangChain**, **OpenAI**, and **Gradio**.

---

## ✨ Features
- Uses LLM chains to first generate a brand-worthy restaurant name.
- Then creates a beautifully structured menu.
- Ideal for entrepreneurs, chefs, and creative projects.

πŸ‘¨β€πŸ’» Built by [Syed Ali Hasan](https://www.linkedin.com/in/syedalihasannaqvi/)

> πŸ” **Note:** You must set the `OPENAI_API_KEY` in the "Secrets" section of your Hugging Face Space settings.

---

## πŸ› οΈ Usage

Just type in a cuisine (like "Japanese" or "Moroccan") and click **Generate Menu**.

You'll get:
- A unique restaurant name.
- 3 sections of menu with premium dish names, descriptions, and prices.

---

### Example

**Input:** `"Italian"`

**Output:**
- *Restaurant Name:* *La Tavola d’Oro*
- *Starters:* Burrata Basilico, etc.
- *Main Course:* Truffle Tagliatelle, etc.
- *Drinks:* Limoncello Breeze, etc.

---

## πŸ’‘ Tech Stack
- `Gradio`
- `LangChain`
- `OpenAI API`

---

## πŸ” Deployment Note

This space requires an OpenAI key. Set it in your Space’s secrets:
- Go to **Settings β†’ Secrets**
- Add key: `OPENAI_API_KEY`

---

This should **immediately resolve the configuration error** and make your Hugging Face Space look polished and professional.

Would you like me to also create a banner image or favicon for the space UI?