Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -60,7 +60,7 @@ with gr.Blocks() as demo:
|
|
| 60 |
|
| 61 |
# JavaScript for managing the pop-up
|
| 62 |
gr.HTML("""
|
| 63 |
-
<div id="popup" style="display:
|
| 64 |
background-color: white; padding: 20px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
| 65 |
z-index: 1000; text-align: center; width: 300px;">
|
| 66 |
<img id="popup-image" src="" alt="" style="width: 100%; height: auto; border-radius: 10px;">
|
|
|
|
| 60 |
|
| 61 |
# JavaScript for managing the pop-up
|
| 62 |
gr.HTML("""
|
| 63 |
+
<div id="popup" style="display: flex; justify-content: center; align-items: center;
|
| 64 |
background-color: white; padding: 20px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
| 65 |
z-index: 1000; text-align: center; width: 300px;">
|
| 66 |
<img id="popup-image" src="" alt="" style="width: 100%; height: auto; border-radius: 10px;">
|