Commit
·
f1bc1ad
1
Parent(s):
ecf4ad6
Add HF_HUB_ENABLE_HF_TRANSFER environment variable
Browse files
main.py
CHANGED
@@ -17,6 +17,7 @@ logger = logging.get_logger(__name__)
|
|
17 |
load_dotenv()
|
18 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
19 |
|
|
|
20 |
|
21 |
BASE_DATASETS_SERVER_URL = "https://datasets-server.huggingface.co"
|
22 |
DEFAULT_FAST_TEXT_MODEL = "laurievb/OpenLID"
|
|
|
17 |
load_dotenv()
|
18 |
HF_TOKEN = os.getenv("HF_TOKEN")
|
19 |
|
20 |
+
os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"
|
21 |
|
22 |
BASE_DATASETS_SERVER_URL = "https://datasets-server.huggingface.co"
|
23 |
DEFAULT_FAST_TEXT_MODEL = "laurievb/OpenLID"
|