milliyin commited on
Commit
c8e8a14
Β·
verified Β·
1 Parent(s): 9ef4e59

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -2
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 style="text-align:center; margin-bottom: 10px;">
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 style="text-align:center; margin-bottom: 10px;">
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>