Update app.py
Browse files
app.py
CHANGED
|
@@ -257,6 +257,13 @@ input[type="checkbox"] {
|
|
| 257 |
background: #764ba2;
|
| 258 |
transform: translateY(-2px);
|
| 259 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 260 |
"""
|
| 261 |
|
| 262 |
# βββββββββ Gradio Blocks βββββββββ
|
|
@@ -285,7 +292,7 @@ with gr.Blocks(css=custom_css, title="Jewellery Photography Preview") as demo:
|
|
| 285 |
# left inputs
|
| 286 |
with gr.Column(scale=0.4):
|
| 287 |
gr.HTML("""
|
| 288 |
-
<div
|
| 289 |
<h3>πΌοΈ Upload Jewellery Image</h3>
|
| 290 |
<p style="color: #666; font-size: 14px;">Select a clear jewellery image for best results</p>
|
| 291 |
</div>
|
|
@@ -311,7 +318,7 @@ with gr.Blocks(css=custom_css, title="Jewellery Photography Preview") as demo:
|
|
| 311 |
# right outputs
|
| 312 |
with gr.Column():
|
| 313 |
gr.HTML("""
|
| 314 |
-
<div
|
| 315 |
<h3>π¨ AI Generated Results</h3>
|
| 316 |
<p style="color: #666; font-size: 14px;">Preview overlay detection and final professional background</p>
|
| 317 |
</div>
|
|
|
|
| 257 |
background: #764ba2;
|
| 258 |
transform: translateY(-2px);
|
| 259 |
}
|
| 260 |
+
.feature-box {
|
| 261 |
+
background: #f8fafc;
|
| 262 |
+
border: 1px solid #e2e8f0;
|
| 263 |
+
padding: 20px;
|
| 264 |
+
border-radius: 12px;
|
| 265 |
+
margin: 10px 0;
|
| 266 |
+
|
| 267 |
"""
|
| 268 |
|
| 269 |
# βββββββββ Gradio Blocks βββββββββ
|
|
|
|
| 292 |
# left inputs
|
| 293 |
with gr.Column(scale=0.4):
|
| 294 |
gr.HTML("""
|
| 295 |
+
<div class="feature-box"">
|
| 296 |
<h3>πΌοΈ Upload Jewellery Image</h3>
|
| 297 |
<p style="color: #666; font-size: 14px;">Select a clear jewellery image for best results</p>
|
| 298 |
</div>
|
|
|
|
| 318 |
# right outputs
|
| 319 |
with gr.Column():
|
| 320 |
gr.HTML("""
|
| 321 |
+
<div class="feature-box">
|
| 322 |
<h3>π¨ AI Generated Results</h3>
|
| 323 |
<p style="color: #666; font-size: 14px;">Preview overlay detection and final professional background</p>
|
| 324 |
</div>
|