Spaces:
Running
Running
Julien Simon
commited on
Commit
•
e009fe7
1
Parent(s):
a59f7b1
Update
Browse files
app.py
CHANGED
@@ -111,19 +111,14 @@ def display_results(model_name):
|
|
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 |
-
url = instance_info.get("url", "")
|
115 |
-
|
116 |
-
# Create a hyperlink for the instance type
|
117 |
-
instance_type_link = (
|
118 |
-
f'<a href="{url}">{instance_type}</a>' if url else instance_type
|
119 |
-
)
|
120 |
|
121 |
if "configurations" in config:
|
122 |
for nested_config in config["configurations"]:
|
123 |
data.append(
|
124 |
{
|
125 |
"Cloud": cloud,
|
126 |
-
"Instance Type":
|
127 |
"GPU": gpu,
|
128 |
"GPU RAM": gpu_ram,
|
129 |
"Status": nested_config.get("status", "N/A"),
|
@@ -144,7 +139,7 @@ def display_results(model_name):
|
|
144 |
data.append(
|
145 |
{
|
146 |
"Cloud": cloud,
|
147 |
-
"Instance Type":
|
148 |
"GPU": gpu,
|
149 |
"GPU RAM": gpu_ram,
|
150 |
"Status": config.get("status", "N/A"),
|
|
|
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 |
+
# url = instance_info.get("url", "")
|
|
|
|
|
|
|
|
|
|
|
115 |
|
116 |
if "configurations" in config:
|
117 |
for nested_config in config["configurations"]:
|
118 |
data.append(
|
119 |
{
|
120 |
"Cloud": cloud,
|
121 |
+
"Instance Type": instance_type,
|
122 |
"GPU": gpu,
|
123 |
"GPU RAM": gpu_ram,
|
124 |
"Status": nested_config.get("status", "N/A"),
|
|
|
139 |
data.append(
|
140 |
{
|
141 |
"Cloud": cloud,
|
142 |
+
"Instance Type": instance_type,
|
143 |
"GPU": gpu,
|
144 |
"GPU RAM": gpu_ram,
|
145 |
"Status": config.get("status", "N/A"),
|