ShahzainHaider commited on
Commit
8667ddc
·
1 Parent(s): e5767f7

Update privateGPT.py

Browse files
Files changed (1) hide show
  1. privateGPT.py +1 -1
privateGPT.py CHANGED
@@ -74,7 +74,7 @@ def GPT(name):
74
  print("\n> " + document.metadata["source"] + ":")
75
  print(document.page_content)
76
 
77
- return answer
78
 
79
  def parse_arguments():
80
  parser = argparse.ArgumentParser(description='privateGPT: Ask questions to your documents without an internet connection, '
 
74
  print("\n> " + document.metadata["source"] + ":")
75
  print(document.page_content)
76
 
77
+ return answer + str(document.page_content)
78
 
79
  def parse_arguments():
80
  parser = argparse.ArgumentParser(description='privateGPT: Ask questions to your documents without an internet connection, '