Spaces:
Running
Running
Martijn Bartelds
commited on
Commit
•
7f4a9f8
1
Parent(s):
6d6ad59
Update model cache
Browse files
neural_acoustic_distance.py
CHANGED
@@ -37,7 +37,7 @@ def compute_costs(gcm):
|
|
37 |
return res, n
|
38 |
|
39 |
|
40 |
-
@st.cache(show_spinner=False, hash_funcs={torch.nn.parameter.Parameter: lambda _: None})
|
41 |
def load_wav2vec2_featurizer(model_id: str, layer: Optional[int] = None):
|
42 |
transformers.logging.set_verbosity(transformers.logging.ERROR)
|
43 |
|
|
|
37 |
return res, n
|
38 |
|
39 |
|
40 |
+
# @st.cache(show_spinner=False, hash_funcs={torch.nn.parameter.Parameter: lambda _: None})
|
41 |
def load_wav2vec2_featurizer(model_id: str, layer: Optional[int] = None):
|
42 |
transformers.logging.set_verbosity(transformers.logging.ERROR)
|
43 |
|