Compare commits

...

1 Commits

Author SHA1 Message Date
CanbiZ
b0e56d319c testing uvx replacement 2025-11-08 20:19:34 +01:00

View File

@@ -17,7 +17,11 @@ msg_info "Installing Dependencies"
$STD apt install -y ffmpeg $STD apt install -y ffmpeg
msg_ok "Installed Dependencies" msg_ok "Installed Dependencies"
USE_UVX="YES" PYTHON_VERSION="3.12" setup_uv PYTHON_VERSION="3.12" setup_uv
msg_info "Installing Open WebUI"
$STD uv tool install --python 3.12 open-webui[all]
msg_ok "Installed Open WebUI"
read -r -p "${TAB3}Would you like to add Ollama? <y/N> " prompt read -r -p "${TAB3}Would you like to add Ollama? <y/N> " prompt
if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then if [[ ${prompt,,} =~ ^(y|yes)$ ]]; then
@@ -56,7 +60,7 @@ After=network.target
Type=simple Type=simple
EnvironmentFile=-/root/.env EnvironmentFile=-/root/.env
Environment=DATA_DIR=/root/.open-webui Environment=DATA_DIR=/root/.open-webui
ExecStart=/usr/local/bin/uvx --python 3.12 open-webui@latest serve ExecStart=/root/.local/bin/open-webui serve
WorkingDirectory=/root WorkingDirectory=/root
Restart=on-failure Restart=on-failure
RestartSec=5 RestartSec=5