Spaces:
Sleeping
Sleeping
Update render_report.py
Browse files- render_report.py +2 -1
render_report.py
CHANGED
|
@@ -4,9 +4,10 @@ import matplotlib.pyplot as plt
|
|
| 4 |
import networkx as nx
|
| 5 |
|
| 6 |
# Load the OSINT JSON data
|
| 7 |
-
with open("data.json", "r", encoding="utf-8") as f:
|
| 8 |
data = json.load(f)
|
| 9 |
|
|
|
|
| 10 |
# Generate sentiment pie chart
|
| 11 |
labels = list(data["sentiment_overview"].keys())
|
| 12 |
sizes = list(data["sentiment_overview"].values())
|
|
|
|
| 4 |
import networkx as nx
|
| 5 |
|
| 6 |
# Load the OSINT JSON data
|
| 7 |
+
with open("/mnt/data/data.json", "r", encoding="utf-8") as f:
|
| 8 |
data = json.load(f)
|
| 9 |
|
| 10 |
+
|
| 11 |
# Generate sentiment pie chart
|
| 12 |
labels = list(data["sentiment_overview"].keys())
|
| 13 |
sizes = list(data["sentiment_overview"].values())
|