vikramvasudevan commited on
Commit
63b395d
·
verified ·
1 Parent(s): 8712d3a

Upload folder using huggingface_hub

Browse files
modules/config/gadhyathrayam.py CHANGED
@@ -18,7 +18,8 @@ gadhyathrayam_config = {
18
  "chapter_name": "chapter_name",
19
  "unit_index": "_global_index",
20
  "relative_path": lambda doc: (
21
- f"{doc.get('gadyam')} | {doc.get('chapter_name')} "
 
22
  f"{doc.get('slokam_index')}"
23
  f"{'.' + str(doc.get('split_index')) if doc.get('split_index') and doc.get('split_index') > 1 else ''}"
24
  ),
@@ -116,7 +117,7 @@ gadhyathrayam_config = {
116
  "audio": [],
117
  "video": [],
118
  },
119
- "audio_modes" : {
120
- "recitation": "Recitation",
121
- }
122
  }
 
18
  "chapter_name": "chapter_name",
19
  "unit_index": "_global_index",
20
  "relative_path": lambda doc: (
21
+ f"{doc.get('gadyam')} | "
22
+ f"{'' if doc.get('chapter_name') == 'GADYAM' else doc.get('chapter_name')}"
23
  f"{doc.get('slokam_index')}"
24
  f"{'.' + str(doc.get('split_index')) if doc.get('split_index') and doc.get('split_index') > 1 else ''}"
25
  ),
 
117
  "audio": [],
118
  "video": [],
119
  },
120
+ "audio_modes": {
121
+ "recitation": "Recitation",
122
+ },
123
  }
modules/config/taitriya_samhitha.py CHANGED
@@ -135,4 +135,8 @@ taitriya_samhitha_config = {
135
  ],
136
  "video": [],
137
  },
 
 
 
 
138
  }
 
135
  ],
136
  "video": [],
137
  },
138
+ "audio_modes": {
139
+ "recitation": "Recitation",
140
+ "recitation kramam": "Recitation Kramam",
141
+ },
142
  }