Rammohan0504 commited on
Commit
3ba5254
·
verified ·
1 Parent(s): 6cc2eff

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(f"""
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;">&times;</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;">&times;</span>
103
  <img id="popup-image" src="" alt="" style="width: 100%; height: auto; border-radius: 10px;">