Spaces:
Runtime error
Runtime error
Remove promts
Browse files
app.py
CHANGED
@@ -44,7 +44,6 @@ def pdf_changes(pdf_doc, open_ai_key):
|
|
44 |
retriever = db.as_retriever()
|
45 |
global qa
|
46 |
qa = ConversationalRetrievalChain.from_llm(
|
47 |
-
condense_question_prompt=CONDENSE_QUESTION_PROMPT,
|
48 |
llm=OpenAI(temperature=0.5),
|
49 |
retriever=retriever,
|
50 |
return_source_documents=True)
|
|
|
44 |
retriever = db.as_retriever()
|
45 |
global qa
|
46 |
qa = ConversationalRetrievalChain.from_llm(
|
|
|
47 |
llm=OpenAI(temperature=0.5),
|
48 |
retriever=retriever,
|
49 |
return_source_documents=True)
|