Spaces:
Running on CPU Upgrade

osv5m commited on
Commit
1a8dd8b
·
verified ·
1 Parent(s): 7b065dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -294,8 +294,8 @@ class Engine(object):
294
 
295
  # Put image with id 732681614433401 on the top and then all the rest below
296
  df['id'] = df['id'].astype(str)
297
- df = pd.concat([df[df['id'] == '495204901603170'], df[df['id'] != '495204901603170']])
298
- df = pd.concat([df[df['id'] == '732681614433401'], df[df['id'] != '732681614433401']])
299
 
300
  # Get the image filenames and their coordinates
301
  self.images = [os.path.join(self.image_folder, f"{img_path}.jpg") for img_path in df['id'].tolist()[:]]
 
294
 
295
  # Put image with id 732681614433401 on the top and then all the rest below
296
  df['id'] = df['id'].astype(str)
297
+ #df = pd.concat([df[df['id'] == '495204901603170'], df[df['id'] != '495204901603170']])
298
+ #df = pd.concat([df[df['id'] == '732681614433401'], df[df['id'] != '732681614433401']])
299
 
300
  # Get the image filenames and their coordinates
301
  self.images = [os.path.join(self.image_folder, f"{img_path}.jpg") for img_path in df['id'].tolist()[:]]