Update app.py
Browse files
app.py
CHANGED
|
@@ -13,15 +13,15 @@ from pathlib import Path
|
|
| 13 |
|
| 14 |
|
| 15 |
# ---------------------- Download Model ----------------------
|
| 16 |
-
|
| 17 |
-
|
| 18 |
|
| 19 |
# ---------------------- Download Model ----------------------
|
| 20 |
-
MODEL_URL = "https://huggingface.co/tensorblock/Meta-Llama-3.2-1B-GGUF/resolve/main/Meta-Llama-3.2-1B-Q8_0.gguf"
|
| 21 |
-
MODEL_PATH = "Meta-Llama-3.2-1B-Q8_0.gguf"
|
| 22 |
|
| 23 |
if not Path(MODEL_PATH).exists():
|
| 24 |
-
print("📥 Downloading Meta LLaMA 3
|
| 25 |
response = requests.get(MODEL_URL, stream=True)
|
| 26 |
with open(MODEL_PATH, "wb") as f:
|
| 27 |
for chunk in response.iter_content(chunk_size=8192):
|
|
|
|
| 13 |
|
| 14 |
|
| 15 |
# ---------------------- Download Model ----------------------
|
| 16 |
+
MODEL_URL = "https://huggingface.co/datasets/psy7743/llama3-8b-instruct-Q8_0.gguf/resolve/main/llama3-8b-instruct-Q8_0.gguf"
|
| 17 |
+
MODEL_PATH = "llama3-8b-instruct-Q8_0.gguf"
|
| 18 |
|
| 19 |
# ---------------------- Download Model ----------------------
|
| 20 |
+
# MODEL_URL = "https://huggingface.co/tensorblock/Meta-Llama-3.2-1B-GGUF/resolve/main/Meta-Llama-3.2-1B-Q8_0.gguf"
|
| 21 |
+
# MODEL_PATH = "Meta-Llama-3.2-1B-Q8_0.gguf"
|
| 22 |
|
| 23 |
if not Path(MODEL_PATH).exists():
|
| 24 |
+
print("📥 Downloading Meta LLaMA 3 8B Q8_0 model from tensorblock...")
|
| 25 |
response = requests.get(MODEL_URL, stream=True)
|
| 26 |
with open(MODEL_PATH, "wb") as f:
|
| 27 |
for chunk in response.iter_content(chunk_size=8192):
|