MariaFilipkowska commited on
Commit
a51e9e8
·
verified ·
1 Parent(s): 25f39e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ from langchain_huggingface import ChatHuggingFace, HuggingFaceEndpoint
18
 
19
 
20
  print("Loading LLM...")
21
- llm = HuggingFaceEndpoint("meta-llama/Llama-3.2-3B-Instruct")
22
  chat = ChatHuggingFace(llm=llm, verbose=True)
23
  print(f"Model {chat.llm} downloaded!")
24
 
 
18
 
19
 
20
  print("Loading LLM...")
21
+ llm = HuggingFaceEndpoint("meta-llama/Llama-3.2-3B-Instruct", huggingfacehub_api_token=os.getenv("HF_TOKEN"))
22
  chat = ChatHuggingFace(llm=llm, verbose=True)
23
  print(f"Model {chat.llm} downloaded!")
24