Skip to content

Commit

Permalink
choice fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pabik committed Jan 9, 2024
1 parent b45fd58 commit ceaa576
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -88,10 +88,10 @@ case $choice in
1)
use_docsgpt
;;
1)
2)
download_locally
;;
2)
3)
use_openai
;;
*)
Expand Down

0 comments on commit ceaa576

Please sign in to comment.