Spaces:
Running
Running
make model caching possible by lambda _: None
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ from modeling_hybrid_clip import FlaxHybridCLIP
|
|
22 |
import utils
|
23 |
|
24 |
|
25 |
-
@st.cache
|
26 |
def get_model():
|
27 |
return FlaxHybridCLIP.from_pretrained("clip-italian/clip-italian-final")
|
28 |
|
|
|
22 |
import utils
|
23 |
|
24 |
|
25 |
+
@st.cache(hash_funcs={FlaxHybridCLIP: lambda _: None})
|
26 |
def get_model():
|
27 |
return FlaxHybridCLIP.from_pretrained("clip-italian/clip-italian-final")
|
28 |
|