feat: 条件写反不应该终止
Browse files
src/backend/manage_requests.py
CHANGED
@@ -139,7 +139,7 @@ def check_completed_evals(
|
|
139 |
)
|
140 |
set_eval_request(api, eval_request, completed_status, hf_repo, local_dir)
|
141 |
else:
|
142 |
-
if eval_was_running(eval_request=eval_request):
|
143 |
logger.info(
|
144 |
f"No result file found for {model} setting it to {failed_status}"
|
145 |
)
|
|
|
139 |
)
|
140 |
set_eval_request(api, eval_request, completed_status, hf_repo, local_dir)
|
141 |
else:
|
142 |
+
if not eval_was_running(eval_request=eval_request):
|
143 |
logger.info(
|
144 |
f"No result file found for {model} setting it to {failed_status}"
|
145 |
)
|