youngtsai commited on
Commit
e8ac9fc
1 Parent(s): bbc9832

df_string = df_string.replace("@XX@", "|")

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -15,6 +15,8 @@ def process_file(file):
15
  df = pd.read_excel(file)
16
 
17
  df_string = df.to_string()
 
 
18
 
19
  # 根据上传的文件内容生成问题
20
  questions = generate_questions(df_string)
 
15
  df = pd.read_excel(file)
16
 
17
  df_string = df.to_string()
18
+ # 宜蘭:移除@XX@符号 to |
19
+ df_string = df_string.replace("@XX@", "|")
20
 
21
  # 根据上传的文件内容生成问题
22
  questions = generate_questions(df_string)