From 33283ffd5dad6aa4e4cc99103715b53a904df6ca Mon Sep 17 00:00:00 2001 From: Seokho Son Date: Tue, 18 Jun 2024 02:14:27 +0900 Subject: [PATCH] Enhance layout --- index.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index 12512c4..42f92bf 100644 --- a/index.js +++ b/index.js @@ -1286,7 +1286,7 @@ function getRecommendedSpec(idx, latitude, longitude) { var struct = { filter: { policy: policies }, - limit: "30", + limit: "200", priority: { policy: [priorities[recommendationPolicy]] } }; @@ -1353,7 +1353,7 @@ function getRecommendedSpec(idx, latitude, longitude) { // Show all recommended specs in a table if needed var tableContent = res.data.map((spec, index) => { let costPerHour = spec.costPerHour === "100000000" || spec.costPerHour === "" ? "unknown" : spec.costPerHour; - let acceleratorType = spec.acceleratorType === "gpu" + let acceleratorCount = spec.acceleratorType === "gpu" ? `GPU` : `None`; let acceleratorModel = spec.acceleratorModel === "gpu" @@ -1383,10 +1383,10 @@ function getRecommendedSpec(idx, latitude, longitude) { Spec CSP Region - vCPU + CPU Mem - Price - GPUs + Cost + GPU Model Mem