vidhiparikh commited on
Commit
aa729a7
1 Parent(s): f08a54f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -83,7 +83,7 @@ def create_conversational_chain(database):
83
  model_path = model_file
84
  print("Model file found in the directory. Using the local model file.")
85
  else:
86
- model_path = model_name
87
  print("Model file not found in the directory. Downloading the model from the repository.")
88
  #Load the model
89
  model = AutoModelForCausalLM.from_pretrained(model_path)
 
83
  model_path = model_file
84
  print("Model file found in the directory. Using the local model file.")
85
  else:
86
+ model_path = "https://huggingface.co/TheBloke/Llama-2-7B-Chat-GGUF/blob/main/llama-2-7b-chat.Q8_0.gguf"
87
  print("Model file not found in the directory. Downloading the model from the repository.")
88
  #Load the model
89
  model = AutoModelForCausalLM.from_pretrained(model_path)