Rohan246 commited on
Commit
0c28510
·
verified ·
1 Parent(s): 8b98fc8

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=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'],
 
3
  from langchain import HuggingFaceHub,PromptTemplate,LLMChain
4
 
5
  from getpass import getpass
6
+ #HUGGINGFACE_API_TOKEN
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'],