Update app.py
Browse files
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 |
-
|
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 |
-
|
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
|