Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -51,14 +51,14 @@ ENDING = """For search acceleration capabilities, please refer to [Searchium.ai]
|
|
51 |
"""
|
52 |
|
53 |
|
54 |
-
DATA_PATH = './
|
55 |
|
56 |
-
ft_visual_features_file = DATA_PATH + '/
|
57 |
|
58 |
#load database features:
|
59 |
ft_visual_features_database = np.load(ft_visual_features_file)
|
60 |
|
61 |
-
database_csv_path = os.path.join(DATA_PATH, '
|
62 |
database_df = pd.read_csv(database_csv_path)
|
63 |
|
64 |
class NearestNeighbors:
|
|
|
51 |
"""
|
52 |
|
53 |
|
54 |
+
DATA_PATH = './new_data'
|
55 |
|
56 |
+
ft_visual_features_file = DATA_PATH + '/video_dataset_visual_features_database.npy'
|
57 |
|
58 |
#load database features:
|
59 |
ft_visual_features_database = np.load(ft_visual_features_file)
|
60 |
|
61 |
+
database_csv_path = os.path.join(DATA_PATH, 'video_dataset.csv')
|
62 |
database_df = pd.read_csv(database_csv_path)
|
63 |
|
64 |
class NearestNeighbors:
|