Spaces:
Running
Running
FoodDesert
commited on
Commit
•
a33aa9b
1
Parent(s):
7dc19f7
Upload app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,8 @@ from sklearn.metrics.pairwise import cosine_similarity
|
|
3 |
import numpy as np
|
4 |
from joblib import load
|
5 |
import h5py
|
|
|
|
|
6 |
|
7 |
# Load the model and data once at startup
|
8 |
with h5py.File('complete_artist_data.hdf5', 'r') as f:
|
|
|
3 |
import numpy as np
|
4 |
from joblib import load
|
5 |
import h5py
|
6 |
+
from io import BytesIO
|
7 |
+
|
8 |
|
9 |
# Load the model and data once at startup
|
10 |
with h5py.File('complete_artist_data.hdf5', 'r') as f:
|