From ceaa5763d417dc20f99091695491bfe612684da0 Mon Sep 17 00:00:00 2001 From: Pavel Date: Tue, 9 Jan 2024 12:57:19 +0300 Subject: [PATCH] choice fix --- setup.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/setup.sh b/setup.sh index d49ed8a2..350dd673 100755 --- a/setup.sh +++ b/setup.sh @@ -5,8 +5,8 @@ prompt_user() { echo "Do you want to:" echo "1. Use DocsGPT public API (simple and free)" echo "2. Download the language model locally (12GB)" - echo "2. Use the OpenAI API (requires an API key)" - read -p "Enter your choice (1/2): " choice + echo "3. Use the OpenAI API (requires an API key)" + read -p "Enter your choice (1-3): " choice } # Function to handle the choice to download the model locally @@ -88,10 +88,10 @@ case $choice in 1) use_docsgpt ;; - 1) + 2) download_locally ;; - 2) + 3) use_openai ;; *)