Update app.py
Browse files
app.py
CHANGED
|
@@ -103,6 +103,7 @@ def main():
|
|
| 103 |
# Corrected use of pd.to_numeric
|
| 104 |
full_df[col] = pd.to_numeric(full_df[col].str.strip(), errors='coerce')
|
| 105 |
full_df = get_model_info(full_df)
|
|
|
|
| 106 |
df = pd.DataFrame(columns=full_df.columns)
|
| 107 |
|
| 108 |
# Toggles
|
|
@@ -114,6 +115,7 @@ def main():
|
|
| 114 |
|
| 115 |
dfs_to_concat = []
|
| 116 |
|
|
|
|
| 117 |
if show_phi:
|
| 118 |
dfs_to_concat.append(full_df[full_df['tags'].str.lower().str.contains('phi-msft')])
|
| 119 |
if show_mistral:
|
|
|
|
| 103 |
# Corrected use of pd.to_numeric
|
| 104 |
full_df[col] = pd.to_numeric(full_df[col].str.strip(), errors='coerce')
|
| 105 |
full_df = get_model_info(full_df)
|
| 106 |
+
full_df['tags'] = full_df['tags'].fillna('')
|
| 107 |
df = pd.DataFrame(columns=full_df.columns)
|
| 108 |
|
| 109 |
# Toggles
|
|
|
|
| 115 |
|
| 116 |
dfs_to_concat = []
|
| 117 |
|
| 118 |
+
|
| 119 |
if show_phi:
|
| 120 |
dfs_to_concat.append(full_df[full_df['tags'].str.lower().str.contains('phi-msft')])
|
| 121 |
if show_mistral:
|