dingckc commited on
Commit
c46b079
·
verified ·
1 Parent(s): 585b794

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from huggingface_hub import InferenceClient
3
 
4
  # 初始化 Inference API 客戶端
5
  model_id = "dingckc/FineLlama-3.1-8B"
6
- api_token = os.getenv("full-access")
7
  inference = InferenceClient(model=model_id, token=api_token)
8
 
9
  # 定義推理函數
 
3
 
4
  # 初始化 Inference API 客戶端
5
  model_id = "dingckc/FineLlama-3.1-8B"
6
+ api_token = ACCESS_KEY
7
  inference = InferenceClient(model=model_id, token=api_token)
8
 
9
  # 定義推理函數