pratikshahp commited on
Commit
e30adea
·
verified ·
1 Parent(s): 026f8cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from langchain_huggingface import HuggingFaceEndpoint
4
  import os
5
 
6
  # Set up Hugging Face API token and model endpoint
7
- HF_TOKEN = os.getenv("HUGGINGFACEHUB_API_TOKEN") # Ensure you have your token set in your environment
8
  llm = HuggingFaceEndpoint(
9
  repo_id="mistralai/Mistral-7B-Instruct-v0.3",
10
  huggingfacehub_api_token=HF_TOKEN.strip(),
 
4
  import os
5
 
6
  # Set up Hugging Face API token and model endpoint
7
+ HF_TOKEN = os.getenv("HF_TOKEN") # Ensure you have your token set in your environment
8
  llm = HuggingFaceEndpoint(
9
  repo_id="mistralai/Mistral-7B-Instruct-v0.3",
10
  huggingfacehub_api_token=HF_TOKEN.strip(),