Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -149,7 +149,7 @@ def initialize_llmchain(llm_model, temperature, max_tokens, top_k, vector_db, pr
|
|
149 |
# model_kwargs={"temperature": temperature, "max_new_tokens": max_tokens, "top_k": top_k}
|
150 |
temperature = temperature,
|
151 |
max_new_tokens = max_tokens,
|
152 |
-
huggingfacehub_api_token = huggingfacehub_api_token
|
153 |
top_k = top_k,
|
154 |
)
|
155 |
else:
|
|
|
149 |
# model_kwargs={"temperature": temperature, "max_new_tokens": max_tokens, "top_k": top_k}
|
150 |
temperature = temperature,
|
151 |
max_new_tokens = max_tokens,
|
152 |
+
huggingfacehub_api_token = huggingfacehub_api_token,
|
153 |
top_k = top_k,
|
154 |
)
|
155 |
else:
|