sahanes commited on
Commit
29d8839
1 Parent(s): 701bdc2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -30,7 +30,7 @@ We will load our environment variables here.
30
  """
31
  HF_LLM_ENDPOINT = os.environ["HF_LLM_ENDPOINT"]
32
  HF_EMBED_ENDPOINT = os.environ["HF_EMBED_ENDPOINT"]
33
- # HF_TOKEN = os.environ["HF_TOKEN"]
34
 
35
  # ---- GLOBAL DECLARATIONS ---- #
36
 
@@ -116,7 +116,7 @@ hf_llm = HuggingFaceEndpoint(
116
  typical_p=0.95,
117
  temperature=0.01,
118
  repetition_penalty=1.03,
119
- # huggingfacehub_api_token=os.environ["HF_TOKEN"]
120
  )
121
 
122
  @cl.author_rename
 
30
  """
31
  HF_LLM_ENDPOINT = os.environ["HF_LLM_ENDPOINT"]
32
  HF_EMBED_ENDPOINT = os.environ["HF_EMBED_ENDPOINT"]
33
+ HF_TOKEN = os.environ["HF_TOKEN"]
34
 
35
  # ---- GLOBAL DECLARATIONS ---- #
36
 
 
116
  typical_p=0.95,
117
  temperature=0.01,
118
  repetition_penalty=1.03,
119
+ huggingfacehub_api_token=os.environ["HF_TOKEN"]
120
  )
121
 
122
  @cl.author_rename