Janani-V commited on
Commit
db7e534
·
verified ·
1 Parent(s): efce8b4

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +53 -11
app.py CHANGED
@@ -264,7 +264,12 @@ body, .gradio-container {
264
  color: #f3f4f6 !important;
265
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
266
  }
267
- .gradio-container { max-width: 1400px !important; margin: auto !important; padding-top: 18px !important; padding-bottom: 24px !important; }
 
 
 
 
 
268
  .main-title { font-size: 34px; font-weight: 800; margin-bottom: 6px; color: #f8fafc; }
269
  .sub-title { font-size: 16px; line-height: 1.8; color: #cbd5e1; margin-bottom: 20px; }
270
 
@@ -276,14 +281,19 @@ body, .gradio-container {
276
  border: none !important;
277
  box-shadow: none !important;
278
  padding: 0 !important;
279
- margin-bottom: 22px !important;
280
  justify-content: flex-start !important;
281
  }
282
 
 
 
 
 
283
  #model-bar{
284
- background: transparent !important;
285
- border: none !important;
286
- box-shadow: none !important;
 
287
  }
288
 
289
  #model-bar label{
@@ -294,20 +304,45 @@ body, .gradio-container {
294
  }
295
 
296
  #model-bar .wrap{
297
- background:#14336b !important;
298
  border:1px solid #3568bf !important;
299
  border-radius:18px !important;
 
 
 
 
 
 
 
 
 
 
 
300
  }
301
 
302
  #model-bar input{
303
  background:transparent !important;
304
  color:#ffffff !important;
305
- font-size:15px !important;
306
  font-weight:700 !important;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
307
  }
308
 
309
  #model-bar svg{
310
- color:#93c5fd !important;
311
  }
312
 
313
  #model-bar *:focus{
@@ -315,11 +350,18 @@ body, .gradio-container {
315
  }
316
 
317
 
318
- .section-title { font-size: 22px; font-weight: 700; color: #f8fafc; margin: 8px 0 14px 0; }
 
 
 
 
 
319
 
320
  /* Force Input Panel and Detection Output columns to start flush at the top */
321
- #main-panels-row {
322
- align-items: flex-start !important;
 
 
323
  }
324
  #main-panels-row > * {
325
  margin-top: 0 !important;
 
264
  color: #f3f4f6 !important;
265
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
266
  }
267
+ .gradio-container {
268
+ max-width: 1400px !important;
269
+ margin: auto !important;
270
+ padding-top: 12px !important;
271
+ padding-bottom: 24px !important;
272
+ }
273
  .main-title { font-size: 34px; font-weight: 800; margin-bottom: 6px; color: #f8fafc; }
274
  .sub-title { font-size: 16px; line-height: 1.8; color: #cbd5e1; margin-bottom: 20px; }
275
 
 
281
  border: none !important;
282
  box-shadow: none !important;
283
  padding: 0 !important;
284
+ margin: 0 0 6px 0 !important;
285
  justify-content: flex-start !important;
286
  }
287
 
288
+ /* =========================
289
+ Model Selector
290
+ ========================= */
291
+
292
  #model-bar{
293
+ max-width:360px;
294
+ background:transparent !important;
295
+ border:none !important;
296
+ box-shadow:none !important;
297
  }
298
 
299
  #model-bar label{
 
304
  }
305
 
306
  #model-bar .wrap{
307
+ background:#183a74 !important;
308
  border:1px solid #3568bf !important;
309
  border-radius:18px !important;
310
+ transition:all .2s ease;
311
+ }
312
+
313
+ #model-bar .wrap:hover{
314
+ border-color:#4f84df !important;
315
+ }
316
+
317
+ #model-bar .wrap:focus-within{
318
+ background:#183a74 !important;
319
+ border-color:#4f84df !important;
320
+ box-shadow:none !important;
321
  }
322
 
323
  #model-bar input{
324
  background:transparent !important;
325
  color:#ffffff !important;
 
326
  font-weight:700 !important;
327
+ font-size:15px !important;
328
+ box-shadow:none !important;
329
+ }
330
+
331
+ #model-bar input:focus{
332
+ background:transparent !important;
333
+ box-shadow:none !important;
334
+ }
335
+
336
+ #model-bar button{
337
+ background:transparent !important;
338
+ }
339
+
340
+ #model-bar button:hover{
341
+ background:transparent !important;
342
  }
343
 
344
  #model-bar svg{
345
+ color:#9ec7ff !important;
346
  }
347
 
348
  #model-bar *:focus{
 
350
  }
351
 
352
 
353
+ .section-title {
354
+ font-size: 22px;
355
+ font-weight: 700;
356
+ color: #f8fafc;
357
+ margin: 0 0 10px 0;
358
+ }
359
 
360
  /* Force Input Panel and Detection Output columns to start flush at the top */
361
+ #main-panels-row{
362
+ align-items:flex-start !important;
363
+ margin-top:-8px !important;
364
+ }
365
  }
366
  #main-panels-row > * {
367
  margin-top: 0 !important;