AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
Use index.html instead of dependencies.html (#293)
merwanehamadid8d7fa662b2d
diff --git a/agbenchmark/utils/dependencies/graphs.py b/agbenchmark/utils/dependencies/graphs.pyindex 241afe9402..81d367685d 100644--- a/agbenchmark/utils/dependencies/graphs.py+++ b/agbenchmark/utils/dependencies/graphs.py@@ -266,7 +266,7 @@ def graph_interactive_network("layout": {"hierarchical": hierarchical_options},}- relative_path = "agbenchmark/challenges/skill_tree/dependencies.html"+ relative_path = "agbenchmark/challenges/skill_tree/index.html"file_path = str(Path(relative_path).resolve())if show:@@ -278,7 +278,7 @@ def graph_interactive_network(["Task: ", "Click on a skill to to see the task"],]- iframe_path = "dependencies.html"+ iframe_path = "index.html"combined_file_path = "agbenchmark/challenges/skill_tree/combined_view.html"create_combined_html(combined_file_path, iframe_path, table_data)@@ -295,7 +295,7 @@ def graph_interactive_network("""# Path to the iframe HTML file- iframe_path = "agbenchmark/challenges/skill_tree/dependencies.html"+ iframe_path = "agbenchmark/challenges/skill_tree/index.html"# Insert the JS code snippet into the iframe HTML fileinsert_js_into_iframe(iframe_path, iframe_js_code)