Spaces:
Runtime error
Runtime error
thinh-huynh-re
commited on
Commit
•
3d771a2
1
Parent(s):
7586903
Fix
Browse files
app.py
CHANGED
@@ -36,7 +36,8 @@ def sample_frame_indices(
|
|
36 |
return indices
|
37 |
|
38 |
|
39 |
-
@st.cache_resource
|
|
|
40 |
def load_model():
|
41 |
feature_extractor = AutoFeatureExtractor.from_pretrained(
|
42 |
"MCG-NJU/videomae-base-finetuned-kinetics"
|
|
|
36 |
return indices
|
37 |
|
38 |
|
39 |
+
# @st.cache_resource
|
40 |
+
@st.experimental_singleton
|
41 |
def load_model():
|
42 |
feature_extractor = AutoFeatureExtractor.from_pretrained(
|
43 |
"MCG-NJU/videomae-base-finetuned-kinetics"
|