Rammohan0504 commited on
Commit
ecf809d
·
verified ·
1 Parent(s): 83dd674

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -168,7 +168,7 @@ with gr.Blocks() as demo:
168
  )
169
 
170
  gr.HTML(f"""
171
- <div id="popup" style="display:none; position: relative; cursor: pointer; top: 50%; left: 50%; transform: translate(-50%, -50%);
172
  background-color: white; padding: 20px; border-radius: 10px;
173
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); z-index: 1000; text-align: center; width: 500px;">
174
  <div style="position: absolute; top: 10px; right: 10px; cursor: pointer; font-size: 20px; font-weight: bold;" onclick="closePopup()">&times;</div>
 
168
  )
169
 
170
  gr.HTML(f"""
171
+ <div id="popup" style="display:none; position: fixed; cursor: pointer; top: 50%; left: 50%; transform: translate(-50%, -50%);
172
  background-color: white; padding: 20px; border-radius: 10px;
173
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); z-index: 1000; text-align: center; width: 500px;">
174
  <div style="position: absolute; top: 10px; right: 10px; cursor: pointer; font-size: 20px; font-weight: bold;" onclick="closePopup()">&times;</div>