From 05f24a784a8deee85df8f20eb7deeba40ce3a3cd Mon Sep 17 00:00:00 2001 From: Arjun Suresh Date: Tue, 24 Sep 2024 14:09:08 +0100 Subject: [PATCH] Make dbname dependent on repo name --- javascripts/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascripts/common.js b/javascripts/common.js index bb2e5cb..6fb68de 100644 --- a/javascripts/common.js +++ b/javascripts/common.js @@ -12,13 +12,13 @@ models_edge_ = [ "gptj-99", "gptj-99.9", "bert-99", "stable-diffusion-xl", "reti models_datacenter = []; models_edge = []; -const dbName = "mlperf_inference_" + results_version;//results_version defined in config.js //const dbVersion = 4; defined in config.js const objStore = "inference_results"; repo_name = repo_name || "inference_results_"+results_version; repo_owner = repo_owner || "GATEOverflow"; repo_branch = repo_branch || "main"; +const dbName = repo_owner + "_" + repo_name + "_" + repo_branch; async function fetchAndStoreData(db) { try {