wenjiao commited on
Commit
45dafce
1 Parent(s): bb87a96

modify css

Browse files
Files changed (1) hide show
  1. app.py +11 -5
app.py CHANGED
@@ -329,7 +329,7 @@ pre {
329
 
330
  #notice_markdown {
331
  text-align: center;
332
- background: #874bec;
333
  padding: 1%;
334
  height: 4.3rem;
335
  color: #fff !important;
@@ -347,7 +347,7 @@ pre {
347
  }
348
 
349
  gradio-app {
350
- background: linear-gradient(to bottom, #ba97d8, #5400ff) !important;
351
  padding: 3%;
352
  }
353
 
@@ -432,6 +432,11 @@ footer {
432
  width: 3.5rem;
433
  float: left;
434
  }
 
 
 
 
 
435
  """
436
  )
437
 
@@ -447,12 +452,13 @@ def build_single_model_ui(models):
447
 
448
  learn_more_markdown = """<div class="footer">
449
  <img src='https://i.postimg.cc/Pfv4vV6R/Microsoft-Teams-image-23.png' class='img-logo-style'/><p>Powered by <a href="https://github.com/intel/intel-extension-for-transformers" style="text-decoration: underline;" target="_blank">Intel Extension for Transformers</a> and <a href="https://github.com/intel/intel-extension-for-pytorch" style="text-decoration: underline;" target="_blank">Intel Extension for PyTorch </a>
450
- </p> <img src='https://i.postimg.cc/Pfv4vV6R/Microsoft-Teams-image-23.png' class='img-logo-style'/>
451
  </div>
452
  <div class="acknowledgments">
453
  <img src="https://i.postimg.cc/cJ99RQZ1/Microsoft-Teams-image-72.png" style="
454
- width: 15rem;
455
- height: 3rem;
 
456
  ">
457
  <p><h4>Neural Studio</h4>
458
 
 
329
 
330
  #notice_markdown {
331
  text-align: center;
332
+ background: #0b5087;
333
  padding: 1%;
334
  height: 4.3rem;
335
  color: #fff !important;
 
347
  }
348
 
349
  gradio-app {
350
+ background: linear-gradient(to bottom, #86ccf5, #3273bf) !important;
351
  padding: 3%;
352
  }
353
 
 
432
  width: 3.5rem;
433
  float: left;
434
  }
435
+
436
+ .img-logo-right-style {
437
+ width: 3.5rem;
438
+ float: right;
439
+ }
440
  """
441
  )
442
 
 
452
 
453
  learn_more_markdown = """<div class="footer">
454
  <img src='https://i.postimg.cc/Pfv4vV6R/Microsoft-Teams-image-23.png' class='img-logo-style'/><p>Powered by <a href="https://github.com/intel/intel-extension-for-transformers" style="text-decoration: underline;" target="_blank">Intel Extension for Transformers</a> and <a href="https://github.com/intel/intel-extension-for-pytorch" style="text-decoration: underline;" target="_blank">Intel Extension for PyTorch </a>
455
+ </p> <img src='https://i.postimg.cc/Pfv4vV6R/Microsoft-Teams-image-23.png' class='img-logo-right-style'/>
456
  </div>
457
  <div class="acknowledgments">
458
  <img src="https://i.postimg.cc/cJ99RQZ1/Microsoft-Teams-image-72.png" style="
459
+ width: 50%;
460
+ height: 5rem;
461
+ margin: 0 auto;
462
  ">
463
  <p><h4>Neural Studio</h4>
464