Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -104,7 +104,7 @@ with gr.Blocks() as demo:
|
|
| 104 |
|
| 105 |
# JavaScript for managing the pop-up
|
| 106 |
gr.HTML("""
|
| 107 |
-
<div id="popup" style="display: none; position: fixed; left: 50%;
|
| 108 |
background-color: white; padding: 20px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
| 109 |
z-index: 1000; text-align: center; width: 300px;">
|
| 110 |
<img id="popup-image" src="" alt="" style="width: 100%; height: auto; border-radius: 10px;">
|
|
|
|
| 104 |
|
| 105 |
# JavaScript for managing the pop-up
|
| 106 |
gr.HTML("""
|
| 107 |
+
<div id="popup" style="display: none; position: fixed; left: 50%; justify-content: center; align-items: center; transform: translate(-50%, 100%)
|
| 108 |
background-color: white; padding: 20px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
| 109 |
z-index: 1000; text-align: center; width: 300px;">
|
| 110 |
<img id="popup-image" src="" alt="" style="width: 100%; height: auto; border-radius: 10px;">
|