3v324v23 commited on
Commit
d6f8d07
·
1 Parent(s): 2bedce6

chage filename to id_code

Browse files
Files changed (1) hide show
  1. pages/Model_Evaluation.py +1 -1
pages/Model_Evaluation.py CHANGED
@@ -107,7 +107,7 @@ def load_test_data_from_huggingface():
107
  # st.write(df.columns)
108
 
109
  # 🔧 Use correct column name for image paths
110
- df["new_path"] = "test/" + df["filename"].astype(str)
111
 
112
  csv_path = "test_labels_temp.csv"
113
  df.to_csv(csv_path, index=False)
 
107
  # st.write(df.columns)
108
 
109
  # 🔧 Use correct column name for image paths
110
+ df["new_path"] = "test/" + df["id_code"].astype(str)
111
 
112
  csv_path = "test_labels_temp.csv"
113
  df.to_csv(csv_path, index=False)