From 282de2ba645555fe3dbca454690fb2a0603e83ff Mon Sep 17 00:00:00 2001 From: aicecold <193708336+aicecold@users.noreply.github.com> Date: Sat, 4 Jan 2025 18:11:14 +0400 Subject: [PATCH 1/3] Update install-run.sh, bump python version to 3.10 to support gradio 5.5 --- install-run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-run.sh b/install-run.sh index ad13f65..58b92d8 100644 --- a/install-run.sh +++ b/install-run.sh @@ -9,7 +9,7 @@ if [ ! -d "env" ]; then principal=$(pwd) CONDA_ROOT_PREFIX="$HOME/miniconda3" INSTALL_ENV_DIR="$principal/env" - MINICONDA_DOWNLOAD_URL="https://repo.anaconda.com/miniconda/Miniconda3-py39_23.9.0-0-Linux-x86_64.sh" + MINICONDA_DOWNLOAD_URL="https://repo.anaconda.com/miniconda/Miniconda3-py310_24.11.1-0-Linux-x86_64.sh" CONDA_EXECUTABLE="$CONDA_ROOT_PREFIX/bin/conda" if [ ! -f "$CONDA_EXECUTABLE" ]; then @@ -35,7 +35,7 @@ if [ ! -d "env" ]; then echo echo "Creating Conda environment..." - $CONDA_EXECUTABLE create --no-shortcuts -y -k --prefix "$INSTALL_ENV_DIR" python=3.9 + $CONDA_EXECUTABLE create -y -k --prefix "$INSTALL_ENV_DIR" python=3.10 if [ $? -ne 0 ]; then exit 1 fi From 30a61027a77b8599ae313b9396af45c64eecc0a3 Mon Sep 17 00:00:00 2001 From: aicecold <193708336+aicecold@users.noreply.github.com> Date: Sat, 4 Jan 2025 18:13:35 +0400 Subject: [PATCH 2/3] Update install-run.sh to make second run after installing conda possible --- install-run.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install-run.sh b/install-run.sh index 58b92d8..7c8e0fe 100644 --- a/install-run.sh +++ b/install-run.sh @@ -5,13 +5,13 @@ set -e title="PolGen" echo $title +principal=$(pwd) +INSTALL_ENV_DIR="$principal/env" + if [ ! -d "env" ]; then - principal=$(pwd) - CONDA_ROOT_PREFIX="$HOME/miniconda3" - INSTALL_ENV_DIR="$principal/env" + CONDA_ROOT_PREFIX="$HOME/miniconda3" MINICONDA_DOWNLOAD_URL="https://repo.anaconda.com/miniconda/Miniconda3-py310_24.11.1-0-Linux-x86_64.sh" CONDA_EXECUTABLE="$CONDA_ROOT_PREFIX/bin/conda" - if [ ! -f "$CONDA_EXECUTABLE" ]; then echo "Miniconda not found. Starting download and installation..." echo "Downloading Miniconda..." From 9d74cc6d16d7c5cc65cd1e89c6936242e4cbdd53 Mon Sep 17 00:00:00 2001 From: Politrees <143968312+Bebra777228@users.noreply.github.com> Date: Sat, 4 Jan 2025 20:52:18 +0500 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e16359f..56631fd 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -
+
# PolGen — Ваш инструмент для создания каверов и переозвучки