Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -168,7 +168,7 @@ with gr.Blocks() as demo:
|
|
| 168 |
)
|
| 169 |
|
| 170 |
gr.HTML(f"""
|
| 171 |
-
<div id="popup" style="display:
|
| 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()">×</div>
|
|
|
|
| 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()">×</div>
|