Spaces:
Runtime error
Runtime error
| 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? | |