Julien Simon commited on
Commit
590fb84
·
1 Parent(s): 9f46468

Fix N/A values for cloud column

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -104,11 +104,11 @@ def display_results(model_name):
104
  merged_models.add(model.get("name", "Unknown"))
105
  for config in model.get("configurations", []):
106
  try:
107
- cloud = config.get("cloud", "N/A")
108
  instance_type = config.get("instanceType", "N/A")
109
 
110
- # Fetch GPU and GPU RAM information from instance_type_mappings
111
  instance_info = instance_type_mappings.get(instance_type, {})
 
112
  gpu = instance_info.get("gpu", "N/A")
113
  gpu_ram = instance_info.get("gpuRAM", "N/A")
114
 
 
104
  merged_models.add(model.get("name", "Unknown"))
105
  for config in model.get("configurations", []):
106
  try:
 
107
  instance_type = config.get("instanceType", "N/A")
108
 
109
+ # Fetch cloud, GPU, and GPU RAM information from instance_type_mappings
110
  instance_info = instance_type_mappings.get(instance_type, {})
111
+ cloud = instance_info.get("cloud", "N/A")
112
  gpu = instance_info.get("gpu", "N/A")
113
  gpu_ram = instance_info.get("gpuRAM", "N/A")
114