Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ max_year = int(taraf_info['Year'].max())
|
|
21 |
|
22 |
|
23 |
features = Features({'Rawi ID': Value('int32'), 'Famous Name': Value('string'), 'Narrator Rank': Value('string'), 'Number of Narrations': Value('string')})
|
24 |
-
narrator_bios = load_dataset("FDSRashid/hadith_info", data_files = 'Teacher_Bios.csv', token =
|
25 |
narrator_bios = narrator_bios['train'].to_pandas()
|
26 |
narrator_bios.loc[49845, 'Narrator Rank'] = 'ุฑุณูู ุงููู'
|
27 |
narrator_bios.loc[49845, 'Number of Narrations'] = 0
|
|
|
21 |
|
22 |
|
23 |
features = Features({'Rawi ID': Value('int32'), 'Famous Name': Value('string'), 'Narrator Rank': Value('string'), 'Number of Narrations': Value('string')})
|
24 |
+
narrator_bios = load_dataset("FDSRashid/hadith_info", data_files = 'Teacher_Bios.csv', token = Secret_token,features=features )
|
25 |
narrator_bios = narrator_bios['train'].to_pandas()
|
26 |
narrator_bios.loc[49845, 'Narrator Rank'] = 'ุฑุณูู ุงููู'
|
27 |
narrator_bios.loc[49845, 'Number of Narrations'] = 0
|