SyedHasanCronosPMC's picture
Create README.md
4e37d29 verified
---
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?