Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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/
|
| 151 |
|
| 152 |
if not os.path.exists(caption_adapter_path):
|
| 153 |
os.system(
|
| 154 |
-
f"wget -q -O {caption_adapter_path} https://github.com/
|
| 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"
|