prithivMLmods commited on
Commit
ea31b3c
·
verified ·
1 Parent(s): 61c2feb

update app

Browse files
Files changed (1) hide show
  1. app.py +20 -6
app.py CHANGED
@@ -319,7 +319,21 @@ footer{display:none!important}
319
  border-radius:10px;display:flex;align-items:center;justify-content:center;
320
  box-shadow:0 4px 12px rgba(255,0,255,.28);
321
  }
322
- .app-logo svg{width:22px;height:22px;fill:#111;flex-shrink:0}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
323
  .app-title{
324
  font-size:18px;font-weight:700;background:linear-gradient(135deg,#f5f5f5,#bdbdbd);
325
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;letter-spacing:-.3px;
@@ -980,11 +994,11 @@ watchOutputs();
980
 
981
  OCR_LOGO_SVG = """
982
  <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
983
- <path d="M4 5.5A2.5 2.5 0 0 1 6.5 3H11v2H6.5a.5.5 0 0 0-.5.5V10H4V5.5Z"/>
984
- <path d="M20 10h-2V5.5a.5.5 0 0 0-.5-.5H13V3h4.5A2.5 2.5 0 0 1 20 5.5V10Z"/>
985
- <path d="M4 14h2v4.5a.5.5 0 0 0 .5.5H11v2H6.5A2.5 2.5 0 0 1 4 18.5V14Z"/>
986
- <path d="M20 14v4.5A2.5 2.5 0 0 1 17.5 21H13v-2h4.5a.5.5 0 0 0 .5-.5V14h2Z"/>
987
- <path d="M8 8h8v2H8V8Zm0 3h8v2H8v-2Zm0 3h5v2H8v-2Z"/>
988
  </svg>
989
  """
990
 
 
319
  border-radius:10px;display:flex;align-items:center;justify-content:center;
320
  box-shadow:0 4px 12px rgba(255,0,255,.28);
321
  }
322
+ .app-logo svg,
323
+ .app-logo svg *,
324
+ .dark .app-logo svg,
325
+ .dark .app-logo svg *,
326
+ body:not(.dark) .app-logo svg,
327
+ body:not(.dark) .app-logo svg *,
328
+ .gradio-container .app-logo svg,
329
+ .gradio-container .app-logo svg *{
330
+ width:22px;
331
+ height:22px;
332
+ fill:#ffffff!important;
333
+ color:#ffffff!important;
334
+ stroke:#ffffff!important;
335
+ flex-shrink:0;
336
+ }
337
  .app-title{
338
  font-size:18px;font-weight:700;background:linear-gradient(135deg,#f5f5f5,#bdbdbd);
339
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;letter-spacing:-.3px;
 
994
 
995
  OCR_LOGO_SVG = """
996
  <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
997
+ <path fill="currentColor" d="M4 5.5A2.5 2.5 0 0 1 6.5 3H11v2H6.5a.5.5 0 0 0-.5.5V10H4V5.5Z"/>
998
+ <path fill="currentColor" d="M20 10h-2V5.5a.5.5 0 0 0-.5-.5H13V3h4.5A2.5 2.5 0 0 1 20 5.5V10Z"/>
999
+ <path fill="currentColor" d="M4 14h2v4.5a.5.5 0 0 0 .5.5H11v2H6.5A2.5 2.5 0 0 1 4 18.5V14Z"/>
1000
+ <path fill="currentColor" d="M20 14v4.5A2.5 2.5 0 0 1 17.5 21H13v-2h4.5a.5.5 0 0 0 .5-.5V14h2Z"/>
1001
+ <path fill="currentColor" d="M8 8h8v2H8V8Zm0 3h8v2H8v-2Zm0 3h5v2H8v-2Z"/>
1002
  </svg>
1003
  """
1004