Update huggingface hub requirement. Remove forced xet removal as some models are so large it wont work without it. Hopefully the latest version of huggingface_hub doesnt have the hanging issues.
This commit is contained in:
3
run.py
3
run.py
@@ -4,8 +4,7 @@ from dotenv import load_dotenv
|
||||
# Load the .env file if it exists
|
||||
load_dotenv()
|
||||
os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = os.getenv("HF_HUB_ENABLE_HF_TRANSFER", "1")
|
||||
# the hf-xet download backend stalls forever mid-download (no timeout); force plain HTTP
|
||||
os.environ["HF_HUB_DISABLE_XET"] = os.getenv("HF_HUB_DISABLE_XET", "1")
|
||||
os.environ["HF_HUB_DISABLE_XET"] = os.getenv("HF_HUB_DISABLE_XET", "0")
|
||||
os.environ["NO_ALBUMENTATIONS_UPDATE"] = "1"
|
||||
seed = None
|
||||
if "SEED" in os.environ:
|
||||
|
||||
Reference in New Issue
Block a user