Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -97,7 +97,7 @@ with gr.Blocks() as demo:
|
|
| 97 |
|
| 98 |
dish_display = gr.HTML(value=display_dishes("ALL"))
|
| 99 |
|
| 100 |
-
gr.HTML(
|
| 101 |
<div id="popup" style="display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: white; padding: 20px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); z-index: 1000; text-align: center; width: 400px;">
|
| 102 |
<span onclick="closePopup()" style="position: absolute; top: 10px; right: 15px; cursor: pointer; font-size: 18px;">×</span>
|
| 103 |
<img id="popup-image" src="" alt="" style="width: 100%; height: auto; border-radius: 10px;">
|
|
|
|
| 97 |
|
| 98 |
dish_display = gr.HTML(value=display_dishes("ALL"))
|
| 99 |
|
| 100 |
+
gr.HTML("""
|
| 101 |
<div id="popup" style="display: none; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: white; padding: 20px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); z-index: 1000; text-align: center; width: 400px;">
|
| 102 |
<span onclick="closePopup()" style="position: absolute; top: 10px; right: 15px; cursor: pointer; font-size: 18px;">×</span>
|
| 103 |
<img id="popup-image" src="" alt="" style="width: 100%; height: auto; border-radius: 10px;">
|