zhangjf commited on
Commit
cff3bbb
1 Parent(s): ea32ef3

fix end time estimation

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. dialogues_set/qas.json +2 -2
app.py CHANGED
@@ -201,7 +201,7 @@ def display(access_key):
201
  num_total_qs, num_processed_qs = len(qs), len(qas) - num_read_qas
202
  time_takes = time.time() - start_time
203
  time_remains = time_takes * (num_total_qs-num_processed_qs) / num_processed_qs
204
- end_time = start_time + time_remains
205
 
206
  messages = []
207
  for qa in qas:
 
201
  num_total_qs, num_processed_qs = len(qs), len(qas) - num_read_qas
202
  time_takes = time.time() - start_time
203
  time_remains = time_takes * (num_total_qs-num_processed_qs) / num_processed_qs
204
+ end_time = start_time + time_takes + time_remains
205
 
206
  messages = []
207
  for qa in qas:
dialogues_set/qas.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:768e67a1bfce537baf875b8a24b7e718a9adfbfe8ae0bede1b8b60c1a269417b
3
- size 25128818
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:58b5b6279f6f3899974df7ce266384023c8451c43a1f3932b8a80bc06b057141
3
+ size 38227490