Wanswan commited on
Commit
e663882
·
verified ·
1 Parent(s): b24ba31

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +29 -1
app.py CHANGED
@@ -35,6 +35,33 @@ MENU_DATA = {
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 pork dumplings", "price": 5.0},
40
  {"id": "A3", "name": "Salad", "desc": "Fresh vegetable salad", "price": 3.5},
@@ -115,4 +142,5 @@ submit_btn = gr.Button("✅ I have made my selection")
115
  clear_btn = gr.Button("🧹 Clear CSV File")
116
  clear_btn.click(fn=clear_csv, outputs=show_output)
117
 
118
- demo.launch()
 
 
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},
42
+ {"id": "A5", "name": "Edamame", "desc": "Boiled young soybeans with sea salt. Simple, healthy, and satisfying.", "price": 3.0},
43
+ ],
44
+ "Main Dishes": [
45
+ {"id": "B1", "name": "Beef Pho", "desc": "Vietnamese noodle soup with thin-sliced beef, herbs, and rich bone broth.", "price": 9.5},
46
+ {"id": "B2", "name": "Chicken Curry", "desc": "Spicy yellow curry with tender chicken, coconut milk, and vegetables. Served with rice.", "price": 10.0},
47
+ {"id": "B3", "name": "Fried Rice", "desc": "Wok-fried jasmine rice with egg, carrots, and peas. Comforting and aromatic.", "price": 8.0},
48
+ {"id": "B4", "name": "Grilled Fish", "desc": "Fillet of fish grilled with lemongrass and lime. Smoky and flavorful.", "price": 11.0},
49
+ {"id": "B5", "name": "Veggie Stir Fry", "desc": "Mixed vegetables sautéed in garlic soy sauce. Colorful and crunchy.", "price": 8.5},
50
+ ],
51
+ "Desserts": [
52
+ {"id": "C1", "name": "Mango Sticky Rice", "desc": "Sweet sticky rice with fresh mango and coconut cream. Thai classic dessert.", "price": 5.0},
53
+ {"id": "C2", "name": "Taro Cake", "desc": "Steamed taro root cake with a soft, chewy texture. Mildly sweet.", "price": 4.5},
54
+ {"id": "C3", "name": "Coconut Jelly", "desc": "Chilled coconut milk jelly, smooth and refreshing.", "price": 4.0},
55
+ {"id": "C4", "name": "Sweet Bean Soup", "desc": "Warm red bean soup with a hint of citrus zest. Sweet and comforting.", "price": 3.5},
56
+ {"id": "C5", "name": "Sesame Balls", "desc": "Glutinous rice balls filled with sweet bean paste, deep-fried until golden.", "price": 3.5},
57
+ ],
58
+ "Drinks": [
59
+ {"id": "D1", "name": "Lime Soda", "desc": "Sparkling soda with fresh lime juice. Zesty and refreshing.", "price": 2.5},
60
+ {"id": "D2", "name": "Iced Tea", "desc": "Chilled black tea with a splash of lemon. Lightly sweetened.", "price": 2.0},
61
+ {"id": "D3", "name": "Coconut Water", "desc": "Natural young coconut juice. Pure and hydrating.", "price": 3.0},
62
+ {"id": "D4", "name": "Soy Milk", "desc": "Sweetened soy milk, served cold. Nutty and smooth.", "price": 2.0},
63
+ {"id": "D5", "name": "Bottled Water", "desc": "Still mineral water in a glass bottle. Clean and classic.", "price": 1.5},
64
+ ],
65
  },
66
  {"id": "A2", "name": "Dumplings", "desc": "Steamed pork dumplings", "price": 5.0},
67
  {"id": "A3", "name": "Salad", "desc": "Fresh vegetable salad", "price": 3.5},
 
142
  clear_btn = gr.Button("🧹 Clear CSV File")
143
  clear_btn.click(fn=clear_csv, outputs=show_output)
144
 
145
+ gr.Markdown("🔽 [Download decision_times.csv](file/decision_times.csv)")
146
+ demo.launch()