Rohan246 commited on
Commit
8b98fc8
·
verified ·
1 Parent(s): 9366a75

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,8 +3,8 @@ import os
3
  from langchain import HuggingFaceHub,PromptTemplate,LLMChain
4
 
5
  from getpass import getpass
6
- #HUGGINGFACE_API_TOKEN=getpass()
7
- os.environ["HUGGINGFACEHUB_API_TOKEN"] = "Token"
8
 
9
  model_id="mistralai/Mistral-7B-Instruct-v0.2"
10
  conv_model=HuggingFaceHub(huggingfacehub_api_token=os.environ['HUGGINGFACEHUB_API_TOKEN'],
 
3
  from langchain import HuggingFaceHub,PromptTemplate,LLMChain
4
 
5
  from getpass import getpass
6
+ HUGGINGFACE_API_TOKEN=Token
7
+ os.environ["HUGGINGFACEHUB_API_TOKEN"] = "HUGGINGFACE_API_TOKEN"
8
 
9
  model_id="mistralai/Mistral-7B-Instruct-v0.2"
10
  conv_model=HuggingFaceHub(huggingfacehub_api_token=os.environ['HUGGINGFACEHUB_API_TOKEN'],