roshnn24 commited on
Commit
cfa272b
·
verified ·
1 Parent(s): d841b63

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -113,7 +113,7 @@ def initialize_llm():
113
  # Using Mistral model through Hugging Face Hub
114
  llm = HuggingFaceHub(
115
  repo_id="mistralai/Mistral-7B-Instruct-v0.1",
116
- huggingfacehub_api_token=os.environ.get('HUGGINGFACE_API_TOKEN'),
117
  model_kwargs={
118
  "temperature": 0.7,
119
  "max_new_tokens": 512,
 
113
  # Using Mistral model through Hugging Face Hub
114
  llm = HuggingFaceHub(
115
  repo_id="mistralai/Mistral-7B-Instruct-v0.1",
116
+ huggingfacehub_api_token=os.environ.get('HF_TOKEN'),
117
  model_kwargs={
118
  "temperature": 0.7,
119
  "max_new_tokens": 512,