[object Object]

← back to Exo

fix: remove extraneous '/'

b39a251d3e69350c377d258fdeb922a6d066dec6 · 2024-09-18 10:42:17 +0800 · James Alexander Shield

Files touched

Diff

commit b39a251d3e69350c377d258fdeb922a6d066dec6
Author: James Alexander Shield <52508+jshield@users.noreply.github.com>
Date:   Wed Sep 18 10:42:17 2024 +0800

    fix: remove extraneous '/'
---
 exo/download/hf/hf_helpers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exo/download/hf/hf_helpers.py b/exo/download/hf/hf_helpers.py
index 98e45f5d..86256f3a 100644
--- a/exo/download/hf/hf_helpers.py
+++ b/exo/download/hf/hf_helpers.py
@@ -71,7 +71,7 @@ def _add_wildcard_to_directories(pattern: str) -> str:
   return pattern
 
 def get_hf_endpoint() -> str:
-    return os.environ.get('HF_ENDPOINT', "https://huggingface.co/")
+    return os.environ.get('HF_ENDPOINT', "https://huggingface.co")
 
 def get_hf_home() -> Path:
   """Get the Hugging Face home directory."""

← a0024fd4 feat: support HF_ENDPOINT base url ENV VAR  ·  back to Exo  ·  add support for qwen2.5, initially adding mlx-community/Qwen 3597fba3 →