Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,8 +10,8 @@ from tensorflow.keras.layers import GlobalMaxPooling2D
|
|
10 |
from tensorflow.keras.applications.resnet50 import ResNet50, preprocess_input
|
11 |
from sklearn.neighbors import NearestNeighbors
|
12 |
|
13 |
-
feature_list = pickle.load(open('C
|
14 |
-
filenames = pickle.load(open('C
|
15 |
|
16 |
model = ResNet50(weights='imagenet', include_top=False, input_shape=(224, 224, 3))
|
17 |
model.trainable = False
|
|
|
10 |
from tensorflow.keras.applications.resnet50 import ResNet50, preprocess_input
|
11 |
from sklearn.neighbors import NearestNeighbors
|
12 |
|
13 |
+
feature_list = pickle.load(open('C:\Users\sanath\PycharmProjects\Fasion Recommender System\embeddings2.pkl', 'rb'))
|
14 |
+
filenames = pickle.load(open('C:\Users\sanath\PycharmProjects\Fasion Recommender System\filenames2.pkl', 'rb'))
|
15 |
|
16 |
model = ResNet50(weights='imagenet', include_top=False, input_shape=(224, 224, 3))
|
17 |
model.trainable = False
|