[s2s] fix lockfile and peg distillation constants (#7545)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user