Skip to content

Commit

Permalink
Update gui.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Slyne authored Apr 6, 2023
1 parent 265a3c6 commit 0c46566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def __init__(self):

def analyse(self, api_key, pdf_file):
self.session = PaperReader(api_key)
self.paper = Paper(pdf_file)
self.paper = Paper(pdf_file.name)
return self.session.summarize(self.paper)

def ask_question(self, question):
Expand Down

0 comments on commit 0c46566

Please sign in to comment.