mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-01-01 21:34:27 +01:00
Use index.html instead of dependencies.html (#293)
This commit is contained in:
@@ -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 file
|
||||
insert_js_into_iframe(iframe_path, iframe_js_code)
|
||||
|
||||
Reference in New Issue
Block a user