kazutab commited on
Commit
b17c75f
·
verified ·
1 Parent(s): e813d04

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ if USE_LLAMA_CPP:
50
  if not MODEL_REPO_ID:
51
  raise ValueError("ローカルにモデルが見つからず、MODEL_REPO_ID環境変数も設定されていません。")
52
  print(f"Hugging Face ({MODEL_REPO_ID}) からモデルをダウンロード中...")
53
- GGUF_PATH = hf_hub_download(repo_id=MODEL_REPO_ID, filename=GGUF_FILENAME)
54
 
55
  print("Loading AI Model (GGUF) into memory...")
56
  model = Llama(
 
50
  if not MODEL_REPO_ID:
51
  raise ValueError("ローカルにモデルが見つからず、MODEL_REPO_ID環境変数も設定されていません。")
52
  print(f"Hugging Face ({MODEL_REPO_ID}) からモデルをダウンロード中...")
53
+ GGUF_PATH = hf_hub_download(repo_id=MODEL_REPO_ID, filename="backend/production_mindmap_model.gguf")
54
 
55
  print("Loading AI Model (GGUF) into memory...")
56
  model = Llama(