mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-26 09:40:20 +01:00
use uninstall -y
This commit is contained in:
parent
c0a1baa46e
commit
a2116e8b2b
2
webui.py
2
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
|
||||
|
Loading…
Reference in New Issue
Block a user