Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -70,15 +70,14 @@ with gr.Blocks() as demo:
|
|
| 70 |
dish_display = gr.HTML(value=display_dishes("ALL"))
|
| 71 |
|
| 72 |
# Dish Details Pop-up
|
| 73 |
-
with gr.
|
| 74 |
-
with gr.
|
| 75 |
dish_image = gr.Image(label="Dish Image", height=200, width=200)
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
close_popup = gr.Button("Close")
|
| 82 |
|
| 83 |
place_order_btn = gr.Button("Place Order")
|
| 84 |
order_status = gr.Textbox(label="Order Status", interactive=False)
|
|
|
|
| 70 |
dish_display = gr.HTML(value=display_dishes("ALL"))
|
| 71 |
|
| 72 |
# Dish Details Pop-up
|
| 73 |
+
with gr.Row(visible=False) as popup:
|
| 74 |
+
with gr.Column():
|
| 75 |
dish_image = gr.Image(label="Dish Image", height=200, width=200)
|
| 76 |
+
dish_name = gr.Textbox(label="Dish Name", interactive=False)
|
| 77 |
+
dish_description = gr.Textbox(label="Description", interactive=False)
|
| 78 |
+
spice_dropdown = gr.Radio(label="Select Spice Level", choices=spice_options, value="🌶 Medium")
|
| 79 |
+
portion_dropdown = gr.Radio(label="Select Portion Size", choices=portion_options, value="🍽 Medium")
|
| 80 |
+
close_popup = gr.Button("Close")
|
|
|
|
| 81 |
|
| 82 |
place_order_btn = gr.Button("Place Order")
|
| 83 |
order_status = gr.Textbox(label="Order Status", interactive=False)
|