Spaces:
Runtime error
Runtime error
tempertur 0
#5
by
Ahaduzzaman
- opened
app.py
CHANGED
@@ -31,7 +31,7 @@ def pdf_changes(pdf_doc, open_ai_key):
|
|
31 |
retriever = db.as_retriever()
|
32 |
global qa
|
33 |
qa = ConversationalRetrievalChain.from_llm(
|
34 |
-
llm=OpenAI(temperature=0
|
35 |
retriever=retriever,
|
36 |
return_source_documents=False)
|
37 |
return "Ready"
|
|
|
31 |
retriever = db.as_retriever()
|
32 |
global qa
|
33 |
qa = ConversationalRetrievalChain.from_llm(
|
34 |
+
llm=OpenAI(temperature=0),
|
35 |
retriever=retriever,
|
36 |
return_source_documents=False)
|
37 |
return "Ready"
|