From 780b00e1cf42b968d65c170ccfd0ad4260f32c66 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Thu, 16 Nov 2023 18:39:39 -0800 Subject: [PATCH] Minor bug fix --- one_click.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/one_click.py b/one_click.py index 5c615ff0..113db8b5 100644 --- a/one_click.py +++ b/one_click.py @@ -317,7 +317,7 @@ def update_requirements(initial_installation=False): print(f"Uninstalled {package_name}") # Uninstall previous llama-cpp-python versions - run_cmd("python -m pip uninstall -y llama-cpp-python-cuda" + package_name, environment=True) + run_cmd("python -m pip uninstall -y llama-cpp-python-cuda", environment=True) # Make sure that API requirements are installed (temporary) extension_req_path = os.path.join("extensions", "openai", "requirements.txt")