wenjiao commited on
Commit
baa7dde
1 Parent(s): 658a996

modify footer

Browse files
Files changed (1) hide show
  1. app.py +23 -5
app.py CHANGED
@@ -408,6 +408,26 @@ footer {
408
  display: none !important;
409
  }
410
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
411
  .img-logo-style {
412
  width: 3.5rem;
413
  float: left;
@@ -426,13 +446,11 @@ def build_single_model_ui(models):
426
  """
427
 
428
  learn_more_markdown = """<div class="footer">
429
- <p>Powered by Intel Extension for <a href="https://github.com/intel/intel-extension-for-transformers" style="text-decoration: underline;" target="_blank">Transformers</a> and Intel Extension for <a href="https://github.com/intel/intel-extension-for-pytorch" style="text-decoration: underline;" target="_blank"> PyTorch </a>
430
- </p>
431
  </div>
432
  <div class="acknowledgments">
433
- <p><h4><img src='https://i.postimg.cc/Pfv4vV6R/Microsoft-Teams-image-23.png' class='img-logo-style'/>AIA</h4>
434
- The model is licensed with a bespoke non-commercial research-only license <a href="https://huggingface.co/spaces/DeepFloyd/deepfloyd-if-license" style="text-decoration: underline;" target="_blank">DeepFloyd IF Research License Agreement</a> license. The license forbids you from sharing any content for commercial use, or that violates any laws, produce any harm to a person, disseminate any personal information that would be meant for harm, spread misinformation and target vulnerable groups. For the full list of restrictions please <a href="https://huggingface.co/spaces/DeepFloyd/deepfloyd-if-license" style="text-decoration: underline;" target="_blank">read the license</a></p>
435
- <p><h4>Neural Studio</h4>
436
 
437
  <a href="http://neuralstudio.intel.com/" style="text-decoration: underline;" target="_blank">Neural Studio</a> is a web service that showcases AI acceleration capabilities on Intel's CPU and GPU with the Intel Neural Compressor. It offers a user-friendly experience with access to optimized AI models and the ability to create custom models, including Neural Chat</p>
438
  </div>
 
408
  display: none !important;
409
  }
410
 
411
+ .footer {
412
+ margin-bottom: 45px;
413
+ margin-top: 35px;
414
+ text-align: center;
415
+ border-bottom: 1px solid #e5e5e5;
416
+ }
417
+
418
+ .footer>p {
419
+ font-size: .8rem;
420
+ display: inline-block;
421
+ padding: 0 10px;
422
+ transform: translateY(10px);
423
+ background: white;
424
+ }
425
+
426
+ .acknowledgments {
427
+ width: 80%;
428
+ margin: 0 auto;
429
+ }
430
+
431
  .img-logo-style {
432
  width: 3.5rem;
433
  float: left;
 
446
  """
447
 
448
  learn_more_markdown = """<div class="footer">
449
+ <p><img src='https://i.postimg.cc/Pfv4vV6R/Microsoft-Teams-image-23.png' class='img-logo-style'/>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
+ <img src='https://i.postimg.cc/Pfv4vV6R/Microsoft-Teams-image-23.png' class='img-logo-style'/></p>
451
  </div>
452
  <div class="acknowledgments">
453
+ <p><h4>Neural Studio<img src='https://i.postimg.cc/Pfv4vV6R/Microsoft-Teams-image-23.png' class='img-logo-style'/></h4>
 
 
454
 
455
  <a href="http://neuralstudio.intel.com/" style="text-decoration: underline;" target="_blank">Neural Studio</a> is a web service that showcases AI acceleration capabilities on Intel's CPU and GPU with the Intel Neural Compressor. It offers a user-friendly experience with access to optimized AI models and the ability to create custom models, including Neural Chat</p>
456
  </div>