no -y flag for uv pip install

This commit is contained in:
Dan Saunders
2025-09-26 13:04:33 -04:00
parent 273a03f85c
commit 828131332a

View File

@@ -21,7 +21,7 @@ cce_spec = importlib.util.find_spec("cut_cross_entropy")
UNINSTALL_PREFIX = ""
if cce_spec:
if not importlib.util.find_spec("cut_cross_entropy.transformers"):
UNINSTALL_PREFIX = "uv pip uninstall -y cut-cross-entropy && "
UNINSTALL_PREFIX = "uv pip uninstall cut-cross-entropy && "
print(
UNINSTALL_PREFIX