[s2s] fix lockfile and peg distillation constants (#7545)

This commit is contained in:
Sam Shleifer
2020-10-02 15:58:14 -04:00
committed by GitHub
parent de4d7b004a
commit 9bdce3a4f9
2 changed files with 2 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ except (ImportError, ModuleNotFoundError):
NLTK_AVAILABLE = False
if NLTK_AVAILABLE:
with FileLock("a_random_string") as lock:
with FileLock(".lock") as lock:
nltk.download("punkt", quiet=True)