Spaces:
Paused
Paused
Update static/index.html
Browse files- static/index.html +27 -2
static/index.html
CHANGED
|
@@ -19,7 +19,32 @@
|
|
| 19 |
border-radius: 20px;
|
| 20 |
border: 2.5px solid transparent;
|
| 21 |
}
|
| 22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
</style>
|
| 24 |
</head>
|
| 25 |
<body>
|
|
@@ -40,7 +65,7 @@
|
|
| 40 |
Loading... <!-- Replace this with your loading spinner HTML/CSS -->
|
| 41 |
</div>
|
| 42 |
<div id="resultContainer">
|
| 43 |
-
|
| 44 |
</div>
|
| 45 |
</div>
|
| 46 |
<!-- Placeholder for the result image -->
|
|
|
|
| 19 |
border-radius: 20px;
|
| 20 |
border: 2.5px solid transparent;
|
| 21 |
}
|
| 22 |
+
#resultImage img {
|
| 23 |
+
position: absolute;
|
| 24 |
+
top: 0;
|
| 25 |
+
left: 0;
|
| 26 |
+
width: 100%;
|
| 27 |
+
height: 100%;
|
| 28 |
+
object-fit: cover; /* Maintain aspect ratio and cover the entire box */
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
.loadingSpinner {
|
| 32 |
+
border: 3px solid rgba(255, 255, 255, 0.3);
|
| 33 |
+
border-radius: 50%;
|
| 34 |
+
border-top: 3px solid #ffffff;
|
| 35 |
+
width: 20px;
|
| 36 |
+
height: 20px;
|
| 37 |
+
animation: spin 2s linear infinite;
|
| 38 |
+
position: absolute;
|
| 39 |
+
top: 50%;
|
| 40 |
+
left: 50%;
|
| 41 |
+
transform: translate(-50%, -50%);
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
@keyframes spin {
|
| 45 |
+
0% { transform: rotate(0deg); }
|
| 46 |
+
100% { transform: rotate(360deg); }
|
| 47 |
+
}
|
| 48 |
</style>
|
| 49 |
</head>
|
| 50 |
<body>
|
|
|
|
| 65 |
Loading... <!-- Replace this with your loading spinner HTML/CSS -->
|
| 66 |
</div>
|
| 67 |
<div id="resultContainer">
|
| 68 |
+
|
| 69 |
</div>
|
| 70 |
</div>
|
| 71 |
<!-- Placeholder for the result image -->
|