Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
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()[:]]
|