Update main.py
Browse files
main.py
CHANGED
|
@@ -15,7 +15,7 @@ if HF_TOKEN is None:
|
|
| 15 |
model_id = 'meta-llama/Meta-Llama-3-8B-Instruct'
|
| 16 |
API_URL = "https://api-inference.huggingface.co/models/" + model_id
|
| 17 |
|
| 18 |
-
|
| 19 |
API_URL,
|
| 20 |
headers={"Authorization": f"Bearer {HF_TOKEN}"},
|
| 21 |
)
|
|
|
|
| 15 |
model_id = 'meta-llama/Meta-Llama-3-8B-Instruct'
|
| 16 |
API_URL = "https://api-inference.huggingface.co/models/" + model_id
|
| 17 |
|
| 18 |
+
Client = InferenceClient(
|
| 19 |
API_URL,
|
| 20 |
headers={"Authorization": f"Bearer {HF_TOKEN}"},
|
| 21 |
)
|