mirror of
https://github.com/wassname/multifit.git
synced 2026-09-09 11:27:26 +08:00
Fixes #25 by adding article title in markdown format to wiki text
This commit is contained in:
@@ -24,7 +24,7 @@ def get_texts(root):
|
||||
if text.strip() == title:
|
||||
# print('No content continuing...')
|
||||
continue
|
||||
yield text
|
||||
yield (f"={title}=\n"+text)
|
||||
|
||||
|
||||
def write_wikitext(file_path, text_iter, mt, num_tokens, mode='w'):
|
||||
|
||||
Reference in New Issue
Block a user