bstraehle commited on
Commit
5ac2495
·
verified ·
1 Parent(s): 2fdd9dc

Update util.py

Browse files
Files changed (1) hide show
  1. util.py +1 -1
util.py CHANGED
@@ -24,7 +24,7 @@ def read_file(file_path):
24
  elif ext in (".json", ".jsonl"):
25
  result = pd.read_json(file_path)
26
 
27
- return result
28
 
29
  def get_final_answer(model, question, answer):
30
  prompt_template = """
 
24
  elif ext in (".json", ".jsonl"):
25
  result = pd.read_json(file_path)
26
 
27
+ return result.to_string()
28
 
29
  def get_final_answer(model, question, answer):
30
  prompt_template = """