Преглед на файлове

fix: remove extraneous '/'

James Alexander Shield преди 10 месеца
родител
ревизия
b39a251d3e
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      exo/download/hf/hf_helpers.py

+ 1 - 1
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."""