csuhan commited on
Commit
a73dde5
·
1 Parent(s): e210a39
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -150,7 +150,7 @@ def download_llama_7b(ckpt_dir, tokenizer_path):
150
  # os.system(
151
  # f"wget -O {tokenizer_path} https://huggingface.co/nyanko7/LLaMA-7B/resolve/main/tokenizer.model")
152
  if not os.path.exists(ckpt_path):
153
- os.system("git clone https://huggingface.co/nyanko7/LLaMA-7B")
154
  print("LLaMA-7B downloaded")
155
 
156
  def download_llama_adapter(instruct_adapter_path, caption_adapter_path):
 
150
  # os.system(
151
  # f"wget -O {tokenizer_path} https://huggingface.co/nyanko7/LLaMA-7B/resolve/main/tokenizer.model")
152
  if not os.path.exists(ckpt_path):
153
+ os.system("git lfs clone https://huggingface.co/nyanko7/LLaMA-7B")
154
  print("LLaMA-7B downloaded")
155
 
156
  def download_llama_adapter(instruct_adapter_path, caption_adapter_path):