Update main.py
Browse files
main.py
CHANGED
|
@@ -51,9 +51,8 @@ qa_chain = RetrievalQA.from_llm(llm=local_llm, retriever=retriever)
|
|
| 51 |
def gradinterface(query,history):
|
| 52 |
|
| 53 |
if query == "exit":
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
continue
|
| 57 |
|
| 58 |
template = """Use the following pieces of context to answer the question at the end.
|
| 59 |
If you don't know the answer, just say that you don't know, don't try to make up an answer.
|
|
|
|
| 51 |
def gradinterface(query,history):
|
| 52 |
|
| 53 |
if query == "exit":
|
| 54 |
+
pass
|
| 55 |
+
|
|
|
|
| 56 |
|
| 57 |
template = """Use the following pieces of context to answer the question at the end.
|
| 58 |
If you don't know the answer, just say that you don't know, don't try to make up an answer.
|