diff --git a/app.py b/app.py index e17f88c..eba75b3 100644 --- a/app.py +++ b/app.py @@ -9,7 +9,7 @@ def read_graph(graph_file: str = 'valos_halozat_other_dataset.txt') -> map: edges = int(f.readline()) result_graph: ig.Graph = ig.Graph(vertices) for _ in range(edges): - line = f.readline().split(' ') + line = f.readline().split('\t') result_graph.add_edge(int(line[0]), int(line[1])) return {"graph": result_graph, "edges:": edges, "vertices": vertices}