Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -100,7 +100,8 @@ def main():
|
|
100 |
# Display dataframe
|
101 |
full_df = convert_markdown_table_to_dataframe(content)
|
102 |
for col in score_columns:
|
103 |
-
|
|
|
104 |
full_df = get_model_info(full_df)
|
105 |
df = pd.DataFrame(columns=full_df.columns)
|
106 |
|
|
|
100 |
# Display dataframe
|
101 |
full_df = convert_markdown_table_to_dataframe(content)
|
102 |
for col in score_columns:
|
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 |
|