Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ load_dotenv()
|
|
13 |
|
14 |
# Configure the Llama index settings
|
15 |
Settings.llm = HuggingFaceInferenceAPI(
|
16 |
-
model_name= AutoModelForCausalLM.from_pretrained("meta-llama/Meta-Llama-3-8B-Instruct"),
|
17 |
tokenizer_name = AutoTokenizer.from_pretrained("meta-llama/Meta-Llama-3-8B-Instruct"),
|
18 |
context_window=3900,
|
19 |
token=os.getenv("HF_TOKEN"),
|
|
|
13 |
|
14 |
# Configure the Llama index settings
|
15 |
Settings.llm = HuggingFaceInferenceAPI(
|
16 |
+
model_name = AutoModelForCausalLM.from_pretrained("meta-llama/Meta-Llama-3-8B-Instruct"),
|
17 |
tokenizer_name = AutoTokenizer.from_pretrained("meta-llama/Meta-Llama-3-8B-Instruct"),
|
18 |
context_window=3900,
|
19 |
token=os.getenv("HF_TOKEN"),
|