anasmkh commited on
Commit
dd41a03
·
1 Parent(s): f7f7a06

updating main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -41,7 +41,7 @@ qa_chain = RetrievalQA.from_chain_type(llm=local_llm,
41
  # question = input('prompt: ')
42
  # result = qa_chain({'query': question})
43
  # print('result: ', result['result'])
44
- def gradinterface(query):
45
  result = qa_chain({'query': query})
46
  return result['result']
47
 
 
41
  # question = input('prompt: ')
42
  # result = qa_chain({'query': question})
43
  # print('result: ', result['result'])
44
+ def gradinterface(query,history):
45
  result = qa_chain({'query': query})
46
  return result['result']
47