Merge pull request #659 from doskoi/patch-2

Skip for empty query
This commit is contained in:
Iván Martínez
2023-06-11 19:13:58 +02:00
committed by GitHub

View File

@@ -43,6 +43,8 @@ def main():
query = input("\nEnter a query: ")
if query == "exit":
break
if query.strip() == "":
continue
# Get the answer from the chain
res = qa(query)