sabazo commited on
Commit
489b2ca
1 Parent(s): 63cd28d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ db = Chroma.from_documents(documents=texts, embedding=embeddings, persist_direct
48
  retriever = db.as_retriever()
49
 
50
  global qa
51
- qa = RetrievalQA.from_chain_type(llm=llm, chain_type="stuff", retriever=retriever, return_source_documents=True)
52
 
53
 
54
  def add_text(history, text):
 
48
  retriever = db.as_retriever()
49
 
50
  global qa
51
+ qa = RetrievalQA.from_chain_type(llm=llama, chain_type="stuff", retriever=retriever, return_source_documents=True)
52
 
53
 
54
  def add_text(history, text):