Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,9 +5,11 @@ from huggingface_hub import InferenceClient
|
|
5 |
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|
6 |
"""
|
7 |
client = InferenceClient(
|
8 |
-
"meta-llama/Meta-Llama-3.1-8B-Instruct"
|
|
|
9 |
)
|
10 |
|
|
|
11 |
def respond(
|
12 |
message,
|
13 |
history: list[tuple[str, str]],
|
|
|
5 |
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|
6 |
"""
|
7 |
client = InferenceClient(
|
8 |
+
"meta-llama/Meta-Llama-3.1-8B-Instruct",
|
9 |
+
token="hf_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
|
10 |
)
|
11 |
|
12 |
+
|
13 |
def respond(
|
14 |
message,
|
15 |
history: list[tuple[str, str]],
|