zhangjf commited on
Commit
8d2411a
1 Parent(s): 755be1d

update existing qas.json

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. dialogues_set/qas.json +3 -0
app.py CHANGED
@@ -60,7 +60,7 @@ def read_qs(qs, qas):
60
  print(f"read {len(qs)} queries from files")
61
 
62
  if os.path.exists("qas.json"):
63
- with open("qas.json", "r", encoding="utf-8") as f:
64
  qas = json.loads(f.read())
65
  print(f"read {len(qas)} query-responses from qas.json")
66
 
 
60
  print(f"read {len(qs)} queries from files")
61
 
62
  if os.path.exists("qas.json"):
63
+ with open(f"{directory}/qas.json", "r", encoding="utf-8") as f:
64
  qas = json.loads(f.read())
65
  print(f"read {len(qas)} query-responses from qas.json")
66
 
dialogues_set/qas.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b70139dc85b38bf43d00b4cf57b362a8138fd23df86f887e4868515d90fed222
3
+ size 21071158