Spaces:
Running
Running
Commit
•
7dc19f7
1
Parent(s):
cd4fb52
Upload 2 files
Browse files- .gitattributes +1 -0
- app.py +1 -1
- complete_artist_data.hdf5 +3 -0
.gitattributes
CHANGED
@@ -34,3 +34,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
artist_data.hdf5 filter=lfs diff=lfs merge=lfs -text
|
|
|
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
artist_data.hdf5 filter=lfs diff=lfs merge=lfs -text
|
37 |
+
complete_artist_data.hdf5 filter=lfs diff=lfs merge=lfs -text
|
app.py
CHANGED
@@ -5,7 +5,7 @@ from joblib import load
|
|
5 |
import h5py
|
6 |
|
7 |
# Load the model and data once at startup
|
8 |
-
with h5py.File('
|
9 |
# Deserialize the vectorizer
|
10 |
vectorizer_bytes = f['vectorizer'][()].tobytes()
|
11 |
vectorizer_buffer = BytesIO(vectorizer_bytes)
|
|
|
5 |
import h5py
|
6 |
|
7 |
# Load the model and data once at startup
|
8 |
+
with h5py.File('complete_artist_data.hdf5', 'r') as f:
|
9 |
# Deserialize the vectorizer
|
10 |
vectorizer_bytes = f['vectorizer'][()].tobytes()
|
11 |
vectorizer_buffer = BytesIO(vectorizer_bytes)
|
complete_artist_data.hdf5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e0287f53ce25fa1f51257e2a69bc6f802f2c4414d7f7679840e383cb7d530589
|
3 |
+
size 452786549
|