Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -74,7 +74,22 @@ def app():
|
|
| 74 |
|
| 75 |
# Modal window
|
| 76 |
modal_window = gr.HTML("""
|
| 77 |
-
<div id="modal" style="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
<div style="text-align: right;">
|
| 79 |
<button onclick="closeModal()" style="background: none; border: none; font-size: 18px; cursor: pointer;">×</button>
|
| 80 |
</div>
|
|
|
|
| 74 |
|
| 75 |
# Modal window
|
| 76 |
modal_window = gr.HTML("""
|
| 77 |
+
<div id="modal" style="
|
| 78 |
+
display: none;
|
| 79 |
+
position: fixed;
|
| 80 |
+
top: 50%;
|
| 81 |
+
left: 50%;
|
| 82 |
+
transform: translate(-50%, -50%);
|
| 83 |
+
width: 90%;
|
| 84 |
+
max-width: 600px;
|
| 85 |
+
max-height: 90%;
|
| 86 |
+
background: white;
|
| 87 |
+
border-radius: 8px;
|
| 88 |
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
| 89 |
+
padding: 20px;
|
| 90 |
+
z-index: 1000;
|
| 91 |
+
overflow-y: auto;
|
| 92 |
+
">
|
| 93 |
<div style="text-align: right;">
|
| 94 |
<button onclick="closeModal()" style="background: none; border: none; font-size: 18px; cursor: pointer;">×</button>
|
| 95 |
</div>
|