GenAICoder commited on
Commit
73948b2
·
verified ·
1 Parent(s): 4138f63

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- Settings.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,
 
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,