mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-30 09:08:51 +00:00
16 lines
381 B
Bash
16 lines
381 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
echo "This will uninstall the environment. Are you sure? [Y/N]"
|
||
|
read choice
|
||
|
if [[ "$choice" =~ [yY] ]]; then
|
||
|
# Download Python installer
|
||
|
printf "Removing virtual environment..."
|
||
|
rm -rf env
|
||
|
echo "OK"
|
||
|
read -p "Press [Enter] to continue..."
|
||
|
else
|
||
|
echo "Please install Python and try again."
|
||
|
read -p "Press [Enter] to continue..."
|
||
|
exit 1
|
||
|
fi
|