Spaces:
Running
Running
berkaygkv54
commited on
Commit
·
640b157
1
Parent(s):
101af6f
streamlit component changes
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ import torch
|
|
8 |
import pandas as pd
|
9 |
|
10 |
|
11 |
-
@st.cache_data
|
12 |
def load_data():
|
13 |
vectors = np.load(ProjectPaths.DATA_DIR.joinpath("vectors", "audio_representations.npy"))
|
14 |
with open(ProjectPaths.DATA_DIR.joinpath("vectors", "song_names.pkl"), "rb") as reader:
|
|
|
8 |
import pandas as pd
|
9 |
|
10 |
|
11 |
+
@st.cache_data
|
12 |
def load_data():
|
13 |
vectors = np.load(ProjectPaths.DATA_DIR.joinpath("vectors", "audio_representations.npy"))
|
14 |
with open(ProjectPaths.DATA_DIR.joinpath("vectors", "song_names.pkl"), "rb") as reader:
|