aaa090910 commited on
Commit
137ec68
·
verified ·
1 Parent(s): 09bed58

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -6,7 +6,7 @@ from pydantic import BaseModel
6
  app = FastAPI()
7
 
8
  # Hugging Face Inference API のエンドポイント(Llama3 8B Instruct)
9
- HF_MODEL_URL = "https://api-inference.huggingface.co/models/meta-llama/Meta-Llama-3-8B-Instruct"
10
 
11
  # Hugging Face のアクセストークンは環境変数から読む(後で設定する)
12
  HF_API_TOKEN = os.environ.get("HF_API_TOKEN")
 
6
  app = FastAPI()
7
 
8
  # Hugging Face Inference API のエンドポイント(Llama3 8B Instruct)
9
+ HF_MODEL_URL = "https://router.huggingface.co/hf-inference/meta-llama/Meta-Llama-3-8B-Instruct"
10
 
11
  # Hugging Face のアクセストークンは環境変数から読む(後で設定する)
12
  HF_API_TOKEN = os.environ.get("HF_API_TOKEN")