mirror of
https://github.com/zylon-ai/private-gpt.git
synced 2025-12-22 07:40:12 +01:00
commit
5943ad1bf7
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue