mlabonne commited on
Commit
1d13608
1 Parent(s): ef3159e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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
- full_df[col] = full_df.to_numeric(full_df[col].str.strip(), errors='coerce')
 
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