Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ terminators = [
|
|
43 |
"""
|
44 |
from huggingface_hub import InferenceClient
|
45 |
model_id = "meta-llama/Meta-Llama-3-8B-Instruct"
|
46 |
-
client = InferenceClient(model_id,
|
47 |
|
48 |
embeddings_model = HuggingFaceEmbeddings(model_name="sentence-transformers/all-mpnet-base-v2")
|
49 |
|
|
|
43 |
"""
|
44 |
from huggingface_hub import InferenceClient
|
45 |
model_id = "meta-llama/Meta-Llama-3-8B-Instruct"
|
46 |
+
client = InferenceClient(model=model_id, token="HF_TOKEN")
|
47 |
|
48 |
embeddings_model = HuggingFaceEmbeddings(model_name="sentence-transformers/all-mpnet-base-v2")
|
49 |
|