Skip to content

Commit

Permalink
Code Llama
Browse files Browse the repository at this point in the history
  • Loading branch information
KillianLucas committed Aug 28, 2023
1 parent 9d36114 commit 8af2c62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions interpreter/llama_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def format_quality_choice(quality, model):
else:
# If the file was not found, ask for confirmation to download it
download_path = os.path.join(default_path, file_name)
message = f"This instance of `Code-Llama` was not found. Would you like to download it to `{download_path}`?"
message = f"This instance of `Code-Llama` was not found. Would you like to download it?"
if confirm_action(message):
subprocess.run(f"curl -L '{url}' -o '{download_path}'", shell=True)
model_path = download_path
Expand All @@ -93,7 +93,7 @@ def format_quality_choice(quality, model):
from llama_cpp import Llama
except:
# Ask for confirmation to install the required pip package
message = "`Code-Llama` interface package not found. Install `llama-cpp-python` package?"
message = "`Code-Llama` interface package not found. Install `llama-cpp-python`?"
if confirm_action(message):

# We're going to build llama-cpp-python correctly for the system we're on
Expand Down

0 comments on commit 8af2c62

Please sign in to comment.