psy7743 commited on
Commit
8d9f06c
·
verified ·
1 Parent(s): fd8861d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -16,11 +16,12 @@ from pathlib import Path
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
- MODEL_URL = "https://huggingface.co/unsloth/Llama-3.2-1B-Instruct-GGUF/resolve/main/llama-3.2-1b-instruct.Q4_K_M.gguf"
20
- MODEL_PATH = "llama-3.2-1b-instruct.Q4_K_M.gguf"
 
21
 
22
  if not Path(MODEL_PATH).exists():
23
- print("📥 Downloading Unsloth LLaMA 3.2 1B Q8_0 model...")
24
  response = requests.get(MODEL_URL, stream=True)
25
  with open(MODEL_PATH, "wb") as f:
26
  for chunk in response.iter_content(chunk_size=8192):
 
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.2 1B 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):