Skip to content

Commit

Permalink
fix: bug on script_creator_graph.py
Browse files Browse the repository at this point in the history
  • Loading branch information
VinciGit00 committed May 2, 2024
1 parent 55a49a4 commit 4a3bc37
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions scrapegraphai/graphs/script_creator_graph.py
Expand Up @@ -62,14 +62,16 @@ def _create_graph(self) -> BaseGraph:
input="url | local_dir",
output=["doc"],
node_config={
"headless": True if self.config is None else self.config.get("headless", True),
"verbose": self.verbose}
"headless": self.headless,
"verbose": self.verbose
}
)
parse_node = ParseNode(
input="doc",
output=["parsed_doc"],
node_config={"chunk_size": self.model_token,
"verbose": self.verbose}
"verbose": self.verbose
}
)
rag_node = RAGNode(
input="user_prompt & (parsed_doc | doc)",
Expand Down

0 comments on commit 4a3bc37

Please sign in to comment.