Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ from llama_index.core import Settings
|
|
25 |
#access_token = os.getenv("HUGGINGFACE_API_KEY")
|
26 |
|
27 |
# Configure the Llama index settings
|
28 |
-
|
29 |
model_name="meta-llama/Meta-Llama-3-8B-Instruct",
|
30 |
tokenizer_name="meta-llama/Meta-Llama-3-8B-Instruct",
|
31 |
context_window=3900,
|
|
|
25 |
#access_token = os.getenv("HUGGINGFACE_API_KEY")
|
26 |
|
27 |
# Configure the Llama index settings
|
28 |
+
llm = HuggingFaceInferenceAPI(
|
29 |
model_name="meta-llama/Meta-Llama-3-8B-Instruct",
|
30 |
tokenizer_name="meta-llama/Meta-Llama-3-8B-Instruct",
|
31 |
context_window=3900,
|