]> khamidou — GitHub mirrors - safetensors.git/commitdiff
Adding a banner to the README. (#244)
authorNicolas Patry <patry.nicolas@protonmail.com>
Wed, 17 May 2023 09:15:11 +0000 (11:15 +0200)
committerGitHub <noreply@github.com>
Wed, 17 May 2023 09:15:11 +0000 (11:15 +0200)
* Adding a banner to the README.

* Svg.

* Fix size.

README.md

index bd2b4d78235db3cc4f319f2370f6862083334ffd..5bb61477591131e1f6628c9427092c51cdfd3e33 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,3 +1,15 @@
+
+
+<p align="center">
+  <picture>
+    <source media="(prefers-color-scheme: dark)" srcset="https://huggingface.co/datasets/safetensors/assets/raw/main/banner-dark.svg">
+    <source media="(prefers-color-scheme: light)" srcset="https://huggingface.co/datasets/safetensors/assets/raw/main/banner-light.svg">
+    <img alt="Hugging Face Safetensors Library" src="https://huggingface.co/datasets/safetensors/assets/raw/main/banner-light.svg" style="max-width: 100%;">
+  </picture>
+  <br/>
+  <br/>
+</p>
+
 Python
 [![Pypi](https://img.shields.io/pypi/v/safetensors.svg)](https://pypi.org/pypi/safetensors/)
 [![Documentation](https://img.shields.io/website/http/huggingface.co/docs/safetensors/index.svg?label=docs)](https://huggingface.co/docs/safetensors/index)