Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,8 +7,35 @@ import pandas as pd
|
|
| 7 |
|
| 8 |
# ====== 菜单数据结构(英文 + 编号) ======
|
| 9 |
MENU_DATA = {
|
| 10 |
-
|
| 11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
{"id": "A2", "name": "Dumplings", "desc": "Steamed dumplings filled with seasoned pork and chives. Juicy and savory.", "price": 5.0},
|
| 13 |
{"id": "A3", "name": "Salad", "desc": "Fresh greens with cucumber, tomato, and sesame dressing. Light and refreshing.", "price": 3.5},
|
| 14 |
{"id": "A4", "name": "Tofu Skewers", "desc": "Grilled tofu skewers with sweet chili glaze. Crispy outside, tender inside.", "price": 4.0},
|
|
|
|
| 7 |
|
| 8 |
# ====== 菜单数据结构(英文 + 编号) ======
|
| 9 |
MENU_DATA = {
|
| 10 |
+
"Appetizers": [
|
| 11 |
+
{"id": "A1", "name": "Spring Rolls", "desc": "Crispy rice paper rolls filled with mixed vegetables and glass noodles. Light and crunchy.", "price": 4.5},
|
| 12 |
+
{"id": "A2", "name": "Dumplings", "desc": "Steamed dumplings filled with seasoned pork and chives. Juicy and savory.", "price": 5.0},
|
| 13 |
+
{"id": "A3", "name": "Salad", "desc": "Fresh greens with cucumber, tomato, and sesame dressing. Light and refreshing.", "price": 3.5},
|
| 14 |
+
{"id": "A4", "name": "Tofu Skewers", "desc": "Grilled tofu skewers with sweet chili glaze. Crispy outside, tender inside.", "price": 4.0},
|
| 15 |
+
{"id": "A5", "name": "Edamame", "desc": "Boiled young soybeans with sea salt. Simple, healthy, and satisfying.", "price": 3.0}
|
| 16 |
+
],
|
| 17 |
+
"Main Dishes": [
|
| 18 |
+
{"id": "B1", "name": "Beef Pho", "desc": "Vietnamese noodle soup with thin-sliced beef, herbs, and rich bone broth.", "price": 9.5},
|
| 19 |
+
{"id": "B2", "name": "Chicken Curry", "desc": "Spicy yellow curry with tender chicken, coconut milk, and vegetables. Served with rice.", "price": 10.0},
|
| 20 |
+
{"id": "B3", "name": "Fried Rice", "desc": "Wok-fried jasmine rice with egg, carrots, and peas. Comforting and aromatic.", "price": 8.0},
|
| 21 |
+
{"id": "B4", "name": "Grilled Fish", "desc": "Fillet of fish grilled with lemongrass and lime. Smoky and flavorful.", "price": 11.0},
|
| 22 |
+
{"id": "B5", "name": "Veggie Stir Fry", "desc": "Mixed vegetables sautéed in garlic soy sauce. Colorful and crunchy.", "price": 8.5}
|
| 23 |
+
],
|
| 24 |
+
"Desserts": [
|
| 25 |
+
{"id": "C1", "name": "Mango Sticky Rice", "desc": "Sweet sticky rice with fresh mango and coconut cream. Thai classic dessert.", "price": 5.0},
|
| 26 |
+
{"id": "C2", "name": "Taro Cake", "desc": "Steamed taro root cake with a soft, chewy texture. Mildly sweet.", "price": 4.5},
|
| 27 |
+
{"id": "C3", "name": "Coconut Jelly", "desc": "Chilled coconut milk jelly, smooth and refreshing.", "price": 4.0},
|
| 28 |
+
{"id": "C4", "name": "Sweet Bean Soup", "desc": "Warm red bean soup with a hint of citrus zest. Sweet and comforting.", "price": 3.5},
|
| 29 |
+
{"id": "C5", "name": "Sesame Balls", "desc": "Glutinous rice balls filled with sweet bean paste, deep-fried until golden.", "price": 3.5}
|
| 30 |
+
],
|
| 31 |
+
"Drinks": [
|
| 32 |
+
{"id": "D1", "name": "Lime Soda", "desc": "Sparkling soda with fresh lime juice. Zesty and refreshing.", "price": 2.5},
|
| 33 |
+
{"id": "D2", "name": "Iced Tea", "desc": "Chilled black tea with a splash of lemon. Lightly sweetened.", "price": 2.0},
|
| 34 |
+
{"id": "D3", "name": "Coconut Water", "desc": "Natural young coconut juice. Pure and hydrating.", "price": 3.0},
|
| 35 |
+
{"id": "D4", "name": "Soy Milk", "desc": "Sweetened soy milk, served cold. Nutty and smooth.", "price": 2.0},
|
| 36 |
+
{"id": "D5", "name": "Bottled Water", "desc": "Still mineral water in a glass bottle. Clean and classic.", "price": 1.5}
|
| 37 |
+
]
|
| 38 |
+
},
|
| 39 |
{"id": "A2", "name": "Dumplings", "desc": "Steamed dumplings filled with seasoned pork and chives. Juicy and savory.", "price": 5.0},
|
| 40 |
{"id": "A3", "name": "Salad", "desc": "Fresh greens with cucumber, tomato, and sesame dressing. Light and refreshing.", "price": 3.5},
|
| 41 |
{"id": "A4", "name": "Tofu Skewers", "desc": "Grilled tofu skewers with sweet chili glaze. Crispy outside, tender inside.", "price": 4.0},
|