Update app.py
Browse files
app.py
CHANGED
@@ -17,7 +17,7 @@ dataset2 = load_dataset('FDSRashid/hadith_info',data_files = 'Taraf_Info.csv', t
|
|
17 |
|
18 |
|
19 |
|
20 |
-
features = Features({'Rawi ID': Value('int32'), 'Famous Name': Value('string'), 'Narrator Rank': Value('string'), 'Number of Narrations': Value('string')})
|
21 |
narrator_bios = load_dataset("FDSRashid/hadith_info", data_files = 'Teacher_Bios.csv', token = Secret_token,features=features )
|
22 |
narrator_bios = narrator_bios['train'].to_pandas()
|
23 |
narrator_bios.loc[49845, 'Narrator Rank'] = 'رسول الله'
|
|
|
17 |
|
18 |
|
19 |
|
20 |
+
features = Features({'Rawi ID': Value('int32'), 'Famous Name': Value('string'), 'Narrator Rank': Value('string'), 'Number of Narrations': Value('string'), 'Generation': Value('string')})
|
21 |
narrator_bios = load_dataset("FDSRashid/hadith_info", data_files = 'Teacher_Bios.csv', token = Secret_token,features=features )
|
22 |
narrator_bios = narrator_bios['train'].to_pandas()
|
23 |
narrator_bios.loc[49845, 'Narrator Rank'] = 'رسول الله'
|