KvrParaskevi commited on
Commit
2593eec
·
verified ·
1 Parent(s): 4e3e56f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ from langchain.prompts import PromptTemplate, ChatPromptTemplate
9
  from langchain_core.prompts.chat import SystemMessagePromptTemplate, HumanMessagePromptTemplate
10
  import os
11
  your_endpoint_url = "https://kp4xdy196cw81uf3.us-east-1.aws.endpoints.huggingface.cloud"
12
- token = os.environ["HUGGINGFACEHUB_API_TOKEN"]
13
 
14
  llm = HuggingFaceEndpoint(
15
  endpoint_url=f"{your_endpoint_url}",
 
9
  from langchain_core.prompts.chat import SystemMessagePromptTemplate, HumanMessagePromptTemplate
10
  import os
11
  your_endpoint_url = "https://kp4xdy196cw81uf3.us-east-1.aws.endpoints.huggingface.cloud"
12
+ token = os.environ["API_TOKEN"]
13
 
14
  llm = HuggingFaceEndpoint(
15
  endpoint_url=f"{your_endpoint_url}",