Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 =
|
| 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 |
# 定義推理函數
|