Fix Bug533

Bug533-Yuyikai
余忆开 2024-05-09 11:32:13 +08:00
parent c499eaeff9
commit f46e82b09d
3 changed files with 2 additions and 2 deletions

View File

@ -96,8 +96,8 @@ def mainpage():
:return: 主界面
'''
db_file = 'static/wordfreqapp.db'
csv_file = 'static/The_Oxford.csv'
db_file = "../db/wordfreqapp.db"
csv_file = "../db/The_Oxford.csv"
text_list = load_text_list_from_db(db_file)
word_set = load_word_list(csv_file)
coverage_percentage = "{:.2f}".format(calculate_coverage(text_list, word_set))

Binary file not shown.