Spaces:
Running
Running
/tmp/data.json
Browse files- render_report.py +2 -2
render_report.py
CHANGED
|
@@ -4,7 +4,7 @@ import matplotlib.pyplot as plt
|
|
| 4 |
import networkx as nx
|
| 5 |
|
| 6 |
# Load the OSINT JSON data
|
| 7 |
-
with open("/
|
| 8 |
data = json.load(f)
|
| 9 |
|
| 10 |
|
|
@@ -125,5 +125,5 @@ html_content = f"""
|
|
| 125 |
</html>
|
| 126 |
"""
|
| 127 |
|
| 128 |
-
with open("/
|
| 129 |
f.write(html_content)
|
|
|
|
| 4 |
import networkx as nx
|
| 5 |
|
| 6 |
# Load the OSINT JSON data
|
| 7 |
+
with open("/tmp/data.json", "r", encoding="utf-8") as f:
|
| 8 |
data = json.load(f)
|
| 9 |
|
| 10 |
|
|
|
|
| 125 |
</html>
|
| 126 |
"""
|
| 127 |
|
| 128 |
+
with open("/tmp/OSINT_Report.html", "w", encoding="utf-8") as f:
|
| 129 |
f.write(html_content)
|