Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -94,7 +94,7 @@ with gr.Blocks() as demo:
|
|
| 94 |
|
| 95 |
# Pop-up HTML and JavaScript
|
| 96 |
gr.HTML("""
|
| 97 |
-
<div id="popup" style="display: none; position: fixed; justify-content:center; align-items:center; transform: translate(50%,
|
| 98 |
background-color: white; padding: 20px; border-radius: 10px;
|
| 99 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); z-index: 1000; text-align: center; width: 300px;">
|
| 100 |
<img id="popup-image" src="" alt="" style="width: 100%; height: auto; border-radius: 10px;">
|
|
|
|
| 94 |
|
| 95 |
# Pop-up HTML and JavaScript
|
| 96 |
gr.HTML("""
|
| 97 |
+
<div id="popup" style="display: none; position: fixed; justify-content:center; align-items:center; transform: translate(-50%, 50%);
|
| 98 |
background-color: white; padding: 20px; border-radius: 10px;
|
| 99 |
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); z-index: 1000; text-align: center; width: 300px;">
|
| 100 |
<img id="popup-image" src="" alt="" style="width: 100%; height: auto; border-radius: 10px;">
|