Update app.py
Browse files
app.py
CHANGED
|
@@ -224,7 +224,7 @@ G_filtered = filter_graph(G, node_threshold=node_degree_threshold, edge_threshol
|
|
| 224 |
rankings = {}
|
| 225 |
if student_id:
|
| 226 |
content_ids = list(G_filtered.nodes)
|
| 227 |
-
rankings = get_rankings_from_api(selected_brand,
|
| 228 |
if rankings:
|
| 229 |
rankings = rankings['ranked_content_ids']
|
| 230 |
|
|
|
|
| 224 |
rankings = {}
|
| 225 |
if student_id:
|
| 226 |
content_ids = list(G_filtered.nodes)
|
| 227 |
+
rankings = get_rankings_from_api(selected_brand, student_id, content_ids)
|
| 228 |
if rankings:
|
| 229 |
rankings = rankings['ranked_content_ids']
|
| 230 |
|