csuhan commited on
Commit
1f628c8
1 Parent(s): 48d8b02

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -147,11 +147,11 @@ def caption_generate(
147
  def download_llama_adapter(instruct_adapter_path, caption_adapter_path):
148
  if not os.path.exists(instruct_adapter_path):
149
  os.system(
150
- f"wget -q -O {instruct_adapter_path} https://github.com/ZrrSkywalker/LLaMA-Adapter/releases/download/v.1.0.0/llama_adapter_len10_layer30_release.pth")
151
 
152
  if not os.path.exists(caption_adapter_path):
153
  os.system(
154
- f"wget -q -O {caption_adapter_path} https://github.com/ZrrSkywalker/LLaMA-Adapter/releases/download/v.1.0.0/llama_adapter_len10_layer30_caption_vit_l.pth")
155
 
156
 
157
  # ckpt_path = "/data1/llma/7B/consolidated.00.pth"
 
147
  def download_llama_adapter(instruct_adapter_path, caption_adapter_path):
148
  if not os.path.exists(instruct_adapter_path):
149
  os.system(
150
+ f"wget -q -O {instruct_adapter_path} https://github.com/OpenGVLab/LLaMA-Adapter/releases/download/v.1.0.0/llama_adapter_len10_layer30_release.pth")
151
 
152
  if not os.path.exists(caption_adapter_path):
153
  os.system(
154
+ f"wget -q -O {caption_adapter_path} https://github.com/OpenGVLab/LLaMA-Adapter/releases/download/v.1.0.0/llama_adapter_len10_layer30_caption_vit_l.pth")
155
 
156
 
157
  # ckpt_path = "/data1/llma/7B/consolidated.00.pth"