Update app.py
Browse files
app.py
CHANGED
@@ -104,7 +104,7 @@ def visualize_isnad(taraf_num, yaxis):
|
|
104 |
teacher_narrations = row['Hadith Count']
|
105 |
student_narrations = student_info['Number of Narrations'].to_list()
|
106 |
if len(student_narrations):
|
107 |
-
student_narrations =
|
108 |
else:
|
109 |
student_narrations = row['Hadith Count']
|
110 |
|
|
|
104 |
teacher_narrations = row['Hadith Count']
|
105 |
student_narrations = student_info['Number of Narrations'].to_list()
|
106 |
if len(student_narrations):
|
107 |
+
student_narrations = student_narrations[0]
|
108 |
else:
|
109 |
student_narrations = row['Hadith Count']
|
110 |
|