mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-08-09 03:17:48 +00:00
commit
5943ad1bf7
@ -43,6 +43,8 @@ def main():
|
|||||||
query = input("\nEnter a query: ")
|
query = input("\nEnter a query: ")
|
||||||
if query == "exit":
|
if query == "exit":
|
||||||
break
|
break
|
||||||
|
if query.strip() == "":
|
||||||
|
continue
|
||||||
|
|
||||||
# Get the answer from the chain
|
# Get the answer from the chain
|
||||||
res = qa(query)
|
res = qa(query)
|
||||||
|
Loading…
Reference in New Issue
Block a user