wholewhale commited on
Commit
ce199cb
1 Parent(s): e40ee26

revert token count

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def pdf_changes(pdf_doc):
27
  retriever = db.as_retriever()
28
  global qa
29
  qa = ConversationalRetrievalChain.from_llm(
30
- llm=OpenAI(temperature=0.2, max_tokens=8000),
31
  retriever=retriever,
32
  return_source_documents=False)
33
  return "Ready"
 
27
  retriever = db.as_retriever()
28
  global qa
29
  qa = ConversationalRetrievalChain.from_llm(
30
+ llm=OpenAI(temperature=0.2),
31
  retriever=retriever,
32
  return_source_documents=False)
33
  return "Ready"