Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -158,7 +158,7 @@ def initialize_llmchain(llm_model, temperature, max_tokens, top_k, vector_db, pr
|
|
| 158 |
repo_id=llm_model,
|
| 159 |
# model_kwargs={"temperature": temperature, "max_new_tokens": max_tokens, "top_k": top_k}
|
| 160 |
temperature = temperature,
|
| 161 |
-
max_new_tokens = 450
|
| 162 |
#huggingfacehub_api_token = huggingfacehub_api_token,
|
| 163 |
top_k = top_k,
|
| 164 |
)
|
|
|
|
| 158 |
repo_id=llm_model,
|
| 159 |
# model_kwargs={"temperature": temperature, "max_new_tokens": max_tokens, "top_k": top_k}
|
| 160 |
temperature = temperature,
|
| 161 |
+
max_new_tokens = 450,
|
| 162 |
#huggingfacehub_api_token = huggingfacehub_api_token,
|
| 163 |
top_k = top_k,
|
| 164 |
)
|