Update main.py
Browse files
main.py
CHANGED
|
@@ -96,7 +96,7 @@ def main():
|
|
| 96 |
|
| 97 |
# Render and prepare the diagram for download
|
| 98 |
filename = f"{row['Student']}_decision_tree"
|
| 99 |
-
filepath = download_tree_diagram(tree_diagram, filename)
|
| 100 |
|
| 101 |
# Provide a download button
|
| 102 |
with open(filepath, "rb") as file:
|
|
|
|
| 96 |
|
| 97 |
# Render and prepare the diagram for download
|
| 98 |
filename = f"{row['Student']}_decision_tree"
|
| 99 |
+
filepath = visualization.download_tree_diagram(tree_diagram, filename)
|
| 100 |
|
| 101 |
# Provide a download button
|
| 102 |
with open(filepath, "rb") as file:
|