Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加10554条名人名言并更新了index文件,提供添加数据的接口 #107

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

liutongyang
Copy link

在data.json文件中添加了1w+条纯净的名人名言,更丰富待生成文本。
新更新的名人名言也一并更新进了index.html中。
提供了一个更新data.json文件的接口,可以用于更新json文件中的"famous" , “bosh”, “before”, "after" 等字段。用法:用待更新数据替换AddData.txt,修改AddData.py中ori_data的字段,python AddData.py。

Copy link

@Raibows Raibows left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked correctly.

@jingyuexing
Copy link
Contributor

读取JSON的库再仓库中已经有了,所以无需你自己再重新写了

@aetherwu
Copy link

非常希望可以尽快合并此PR。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants