zeyadahmedd commited on
Commit
c8b63b6
·
1 Parent(s): 4a3df47

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -6,9 +6,9 @@ from langchain.chains.question_answering import load_qa_chain
6
  import dill
7
  def greet(name):
8
  db = dill.load(open("client_embebedings.mate", "rb"))
9
- return name+db
10
- #docs = db.similarity_search(name)
11
- #return chain.run(input_documents=docs, question=name)
12
 
13
  def greet1(name):
14
  return "Hello ya client" +name
 
6
  import dill
7
  def greet(name):
8
  db = dill.load(open("client_embebedings.mate", "rb"))
9
+ #return name+db
10
+ docs = db.similarity_search(name)
11
+ return chain.run(input_documents=docs, question=name)
12
 
13
  def greet1(name):
14
  return "Hello ya client" +name