Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

docs: update hub

Louisfe287407e7b6
diff --git a/docs/src/pages/docs/desktop/_assets/hf-use-this-model.png b/docs/src/pages/docs/desktop/_assets/hf-use-this-model.png
new file mode 100644
index 000000000..18a5baa76
Binary files /dev/null and b/docs/src/pages/docs/desktop/_assets/hf-use-this-model.png differ
diff --git a/docs/src/pages/docs/desktop/manage-models.mdx b/docs/src/pages/docs/desktop/manage-models.mdx
index 37bb7409a..8ecbfb863 100644
--- a/docs/src/pages/docs/desktop/manage-models.mdx
+++ b/docs/src/pages/docs/desktop/manage-models.mdx
@@ -68,12 +68,25 @@ You can download models with a direct link from Hugging Face:
5. Select your preferred quantized version to download (if the option is available)
**Copy the model ID.**
+<div className="img-rounded-shadow">
![Find HF Model](./_assets/hf-model-id.png)
+</div>
**Paste it in Jan's Hub Search Bar.**
![Import Model](./_assets/hub-search.png)
-#### 3. Import Local Files
+#### 3. Use This Model on Hugging Face
+
+You can also open any model directly in Jan from the Hugging Face model page:
+
+1. On any model page, click **Use this model**
+2. Under **Local Apps**, select **Jan**
+
+<div className="img-rounded-shadow">
+![Use this model in Jan from HuggingFace](./_assets/hf-use-this-model.png)
+</div>
+
+#### 4. Import Local Files
If you already have model files on your computer, you can import them directly via the engine settings:
diff --git a/docs/src/styles/general.scss b/docs/src/styles/general.scss
index f991e816f..1e778f264 100644
--- a/docs/src/styles/general.scss
+++ b/docs/src/styles/general.scss
@@ -14,6 +14,15 @@
pointer-events: none;
}
+ .img-rounded-shadow {
+ padding: 8px;
+
+ img {
+ border-radius: 12px;
+ box-shadow: 0px 8px 32px rgba(0, 0, 0, 0.42);
+ }
+ }
+
// tweaks some class code hike
.ch-codeblock {
box-shadow: none !important;