Rammohan0504 commited on
Commit
64976d3
·
verified ·
1 Parent(s): 6069d70

Update app.py

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