Spaces:
Runtime error
Runtime error
fix trying to format model name...
Browse files
app.py
CHANGED
@@ -123,7 +123,7 @@ def formatter(x):
|
|
123 |
return x
|
124 |
|
125 |
for col in original_df.columns:
|
126 |
-
if col == "model":
|
127 |
original_df[col] = original_df[col].apply(lambda x: x.replace(x, make_clickable_model(x)))
|
128 |
else:
|
129 |
original_df[col] = original_df[col].apply(formatter) # For numerical values
|
|
|
123 |
return x
|
124 |
|
125 |
for col in original_df.columns:
|
126 |
+
if col.lower() == "model":
|
127 |
original_df[col] = original_df[col].apply(lambda x: x.replace(x, make_clickable_model(x)))
|
128 |
else:
|
129 |
original_df[col] = original_df[col].apply(formatter) # For numerical values
|