Skip to content

Commit 1705046

Browse files
committed
Update pdf_scraper_graph.py
1 parent dc1340e commit 1705046

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scrapegraphai/graphs/pdf_scraper_graph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,4 @@ def run(self) -> str:
119119
inputs = {"user_prompt": self.prompt, self.input_key: self.source}
120120
self.final_state, self.execution_info = self.graph.execute(inputs)
121121

122-
return self.final_state.get("answer", "No answer found.")
122+
return self.final_state.get("answer", "No answer found.")[0]

0 commit comments

Comments
 (0)