Hemang Thakur commited on
Commit
f6241a7
·
1 Parent(s): a4986ed

added error handling for graph display

Browse files
Files changed (1) hide show
  1. src/rag/graph_rag.py +1 -1
src/rag/graph_rag.py CHANGED
@@ -1226,7 +1226,7 @@ class GraphRAG:
1226
  with open(file_path, "r", encoding="utf-8") as f:
1227
  html_str = f.read()
1228
 
1229
- os.remove(file_path)
1230
  return html_str
1231
 
1232
  def verify_graph_integrity(self):
 
1226
  with open(file_path, "r", encoding="utf-8") as f:
1227
  html_str = f.read()
1228
 
1229
+ # os.remove(file_path)
1230
  return html_str
1231
 
1232
  def verify_graph_integrity(self):