Spaces:
Running on Zero
Running on Zero
Upload app.py with huggingface_hub
Browse files
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=
|
| 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(
|