[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
798e73e770
commit
d0c2beda75
1 changed files with 5 additions and 1 deletions
|
|
@ -223,7 +223,11 @@ def _ensure_venv_t5_exists() -> bool:
|
|||
|
||||
logger.warning(".venv_t5 not found at %s — installing at runtime", _VENV_T5_DIR)
|
||||
os.makedirs(_VENV_T5_DIR, exist_ok = True)
|
||||
for pkg in (f"transformers=={TRANSFORMERS_5_VERSION}", "huggingface_hub==1.3.0", "tiktoken"):
|
||||
for pkg in (
|
||||
f"transformers=={TRANSFORMERS_5_VERSION}",
|
||||
"huggingface_hub==1.3.0",
|
||||
"tiktoken",
|
||||
):
|
||||
cmd = [
|
||||
sys.executable,
|
||||
"-m",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue