Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ def load_base_model():
|
|
44 |
# tokenizer = AutoTokenizer.from_pretrained(LLAMA_CKPT_PATH)
|
45 |
# Try to get the local path using the download function
|
46 |
model_path = download_base_model("lucas-ventura/chapter-llama", local_dir=".")
|
47 |
-
model_path += f"
|
48 |
print(f"Model path: {model_path}")
|
49 |
base_model = load_model_llamarecipes(
|
50 |
model_name=model_path,
|
|
|
44 |
# tokenizer = AutoTokenizer.from_pretrained(LLAMA_CKPT_PATH)
|
45 |
# Try to get the local path using the download function
|
46 |
model_path = download_base_model("lucas-ventura/chapter-llama", local_dir=".")
|
47 |
+
model_path += f"/home/user/app/{LLAMA_CKPT_PATH}"
|
48 |
print(f"Model path: {model_path}")
|
49 |
base_model = load_model_llamarecipes(
|
50 |
model_name=model_path,
|