Spaces:
Sleeping
Sleeping
vidhiparikh
commited on
Commit
•
e954ee3
1
Parent(s):
e17ba1d
Update app.py
Browse files
app.py
CHANGED
@@ -84,7 +84,7 @@ def create_conversational_chain(database):
|
|
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)
|
90 |
print(model_path)
|
|
|
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)
|
90 |
print(model_path)
|