Minor typo fix for clarity

This commit is contained in:
Eric Page 2024-05-11 00:05:13 +02:00
parent 9a873ca10a
commit 67d8fec6b3

View File

@ -27,19 +27,19 @@ graph_config = {
# Create the ScriptCreatorGraph instance and run it
# ************************************************
smart_scraper_graph = ScriptCreatorGraph(
prompt="List me all the news with their description.",
script_creator_graph = ScriptCreatorGraph(
prompt="List me all the projects with their description.",
# also accepts a string with the already downloaded HTML code
source="https://perinim.github.io/projects",
config=graph_config
)
result = smart_scraper_graph.run()
result = script_creator_graph.run()
print(result)
# ************************************************
# Get graph execution info
# ************************************************
graph_exec_info = smart_scraper_graph.get_execution_info()
graph_exec_info = script_creator_graph.get_execution_info()
print(prettify_exec_info(graph_exec_info))