fdbw commited on
Commit
f8355fb
·
verified ·
1 Parent(s): 90e0830

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -51,7 +51,8 @@ def load_genealogy_from_text(text):
51
 
52
  def prepare_data():
53
  try:
54
- with open("冯氏家谱.txt", "r", encoding="utf-8") as f:
 
55
  text = f.read()
56
  global GENEALOGY_KB
57
  GENEALOGY_KB = load_genealogy_from_text(text)
 
51
 
52
  def prepare_data():
53
  try:
54
+ # with open("冯氏家谱.txt", "r", encoding="utf-8") as f:
55
+ with open("genealogy.txt", "r", encoding="utf-8") as f:
56
  text = f.read()
57
  global GENEALOGY_KB
58
  GENEALOGY_KB = load_genealogy_from_text(text)