Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ def load_pdf_to_langchain(pdf_path, repo_id):
|
|
47 |
retriever = db.as_retriever()
|
48 |
llm = HuggingFaceHub(
|
49 |
repo_id=repo_id,
|
50 |
-
model_kwargs={'temperature': 0.3
|
51 |
)
|
52 |
qa_chain = get_chain(llm, retriever)
|
53 |
return qa_chain
|
|
|
47 |
retriever = db.as_retriever()
|
48 |
llm = HuggingFaceHub(
|
49 |
repo_id=repo_id,
|
50 |
+
model_kwargs={'temperature': 0.3}
|
51 |
)
|
52 |
qa_chain = get_chain(llm, retriever)
|
53 |
return qa_chain
|