Spaces:
Sleeping
Sleeping
santiviquez
commited on
Commit
•
0929195
1
Parent(s):
29457c0
allow mutation
Browse files
app.py
CHANGED
@@ -49,7 +49,7 @@ FILENAME = "CNN_MelSpec_Deltas_fold_4_.pth"
|
|
49 |
RATE = 22050
|
50 |
|
51 |
|
52 |
-
@st.cache
|
53 |
def download_model():
|
54 |
model_weights = torch.load(
|
55 |
cached_download(hf_hub_url(REPO_ID, FILENAME)), map_location=torch.device("cpu")
|
|
|
49 |
RATE = 22050
|
50 |
|
51 |
|
52 |
+
@st.cache(allow_output_mutation=True)
|
53 |
def download_model():
|
54 |
model_weights = torch.load(
|
55 |
cached_download(hf_hub_url(REPO_ID, FILENAME)), map_location=torch.device("cpu")
|