Ethium commited on
Commit
ab26eab
1 Parent(s): 4ff3206

Create app_2.py

Browse files
Files changed (1) hide show
  1. app_2.py +9 -0
app_2.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ from pathlib import Path
2
+ import pandas as pd
3
+
4
+ def get_x(row):
5
+ # All files are assumed to be '.jpg', so we directly return the path with '.jpg' extension
6
+ return path_image_combined / f"{row['file_name']}.jpg"
7
+
8
+ def get_y(row):
9
+ return row['Buried ODD']