Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -202,7 +202,7 @@ def visualize_subTaraf(taraf_num, hadith_str, yaxis):
|
|
| 202 |
isnad_pos = nx.nx_agraph.graphviz_layout(G, prog='dot')
|
| 203 |
x_stretch = 4
|
| 204 |
y_stretch = 4
|
| 205 |
-
net = Network(directed =True)
|
| 206 |
|
| 207 |
for node, pos in isnad_pos.items():
|
| 208 |
node_info = narrator_bios[narrator_bios['Rawi ID'] == int(node)]
|
|
@@ -264,7 +264,7 @@ def visualize_hadith_isnad(df, yaxis):
|
|
| 264 |
isnad_pos = nx.nx_agraph.graphviz_layout(G, prog='dot')
|
| 265 |
x_stretch = 4
|
| 266 |
y_stretch = 4
|
| 267 |
-
net = Network(directed =True)
|
| 268 |
|
| 269 |
for node, pos in isnad_pos.items():
|
| 270 |
node_info = narrator_bios[narrator_bios['Rawi ID'] == int(node)]
|
|
@@ -349,7 +349,7 @@ def visualize_narrator_taraf(taraf_num, narrator, yaxis):
|
|
| 349 |
narrator_matn_info['Subset Index'] = np.arange(num_hadith)
|
| 350 |
x_stretch = 4
|
| 351 |
y_stretch = 4
|
| 352 |
-
net = Network(directed =True)
|
| 353 |
|
| 354 |
for node, pos in isnad_pos.items():
|
| 355 |
node_info = narrator_bios[narrator_bios['Rawi ID'] == int(node)]
|
|
|
|
| 202 |
isnad_pos = nx.nx_agraph.graphviz_layout(G, prog='dot')
|
| 203 |
x_stretch = 4
|
| 204 |
y_stretch = 4
|
| 205 |
+
net = Network(directed =True, select_menu=True, cdn_resources='remote')
|
| 206 |
|
| 207 |
for node, pos in isnad_pos.items():
|
| 208 |
node_info = narrator_bios[narrator_bios['Rawi ID'] == int(node)]
|
|
|
|
| 264 |
isnad_pos = nx.nx_agraph.graphviz_layout(G, prog='dot')
|
| 265 |
x_stretch = 4
|
| 266 |
y_stretch = 4
|
| 267 |
+
net = Network(directed =True, select_menu=True, cdn_resources='remote')
|
| 268 |
|
| 269 |
for node, pos in isnad_pos.items():
|
| 270 |
node_info = narrator_bios[narrator_bios['Rawi ID'] == int(node)]
|
|
|
|
| 349 |
narrator_matn_info['Subset Index'] = np.arange(num_hadith)
|
| 350 |
x_stretch = 4
|
| 351 |
y_stretch = 4
|
| 352 |
+
net = Network(directed =True, select_menu=True, cdn_resources='remote')
|
| 353 |
|
| 354 |
for node, pos in isnad_pos.items():
|
| 355 |
node_info = narrator_bios[narrator_bios['Rawi ID'] == int(node)]
|