From a2116e8b2ba661ba0ffc2b917b3c32135c0bfda4 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Tue, 20 Jun 2023 21:24:01 -0300 Subject: [PATCH] use uninstall -y --- webui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui.py b/webui.py index f551861d..89bfee0f 100644 --- a/webui.py +++ b/webui.py @@ -125,7 +125,7 @@ def update_dependencies(): package_name = url.split("/")[-1].split("@")[0] # Uninstall the package using pip - run_cmd("python -m pip uninstall " + package_name, environment=True) + run_cmd("python -m pip uninstall -y" + package_name, environment=True) print(f"Uninstalled {package_name}") # Installs/Updates dependencies from all requirements.txt