Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
| 7 |
-
os.environ["HUGGINGFACEHUB_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'],
|