log when benchmark file not used

This commit is contained in:
Rob Ballantyne
2025-10-23 16:41:02 +01:00
parent 92a04bd7af
commit d51a338e8f
+2 -1
View File
@@ -43,9 +43,10 @@ class ComfyWorkflowData(ApiPayload):
}
)
except (json.JSONDecodeError, IOError):
log.info(f"{benchmark_file} not found. Using fallback method")
log.error(f"Failed to benchmark using {benchmark_file}")
# Fallback: read prompts and construct payload
log.info("Using fallback method for benchmarking")
with open("workers/comfyui-json/misc/test_prompts.txt", "r") as f:
test_prompts = f.readlines()