pratikshahp commited on
Commit
4b957b8
·
verified ·
1 Parent(s): ef529cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import os
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(),
11
  temperature=0.7,
12
  max_new_tokens=200
13
  )
 
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,
11
  temperature=0.7,
12
  max_new_tokens=200
13
  )