Spaces:
Sleeping
Sleeping
Terry Zhuo
commited on
Commit
·
89eb067
1
Parent(s):
7eeb535
update
Browse files
app.py
CHANGED
|
@@ -135,13 +135,12 @@ def evaluate(
|
|
| 135 |
failed_tasks = [k for k, v in expected_time.items() if v is None and k in problems]
|
| 136 |
|
| 137 |
pass_at_k = dict()
|
|
|
|
|
|
|
|
|
|
|
|
|
| 138 |
|
| 139 |
if not check_gt_only:
|
| 140 |
-
|
| 141 |
-
results = {
|
| 142 |
-
"date": datetime.now().strftime("%Y-%m-%d %H:%M"),
|
| 143 |
-
"eval": {},
|
| 144 |
-
}
|
| 145 |
|
| 146 |
with ProcessPoolExecutor(max_workers=n_workers) as executor:
|
| 147 |
futures = []
|
|
|
|
| 135 |
failed_tasks = [k for k, v in expected_time.items() if v is None and k in problems]
|
| 136 |
|
| 137 |
pass_at_k = dict()
|
| 138 |
+
results = {
|
| 139 |
+
"date": datetime.now().strftime("%Y-%m-%d %H:%M"),
|
| 140 |
+
"eval": {},
|
| 141 |
+
}
|
| 142 |
|
| 143 |
if not check_gt_only:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 144 |
|
| 145 |
with ProcessPoolExecutor(max_workers=n_workers) as executor:
|
| 146 |
futures = []
|