Spaces:
Sleeping
Sleeping
chage filename to id_code
Browse files
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["
|
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)
|