Skip to content

Commit 4a3bc37

Browse files
committed
fix: bug on script_creator_graph.py
1 parent 55a49a4 commit 4a3bc37

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

scrapegraphai/graphs/script_creator_graph.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,16 @@ def _create_graph(self) -> BaseGraph:
6262
input="url | local_dir",
6363
output=["doc"],
6464
node_config={
65-
"headless": True if self.config is None else self.config.get("headless", True),
66-
"verbose": self.verbose}
65+
"headless": self.headless,
66+
"verbose": self.verbose
67+
}
6768
)
6869
parse_node = ParseNode(
6970
input="doc",
7071
output=["parsed_doc"],
7172
node_config={"chunk_size": self.model_token,
72-
"verbose": self.verbose}
73+
"verbose": self.verbose
74+
}
7375
)
7476
rag_node = RAGNode(
7577
input="user_prompt & (parsed_doc | doc)",

0 commit comments

Comments
 (0)