Spaces:
Sleeping
Sleeping
Pavel Malov
commited on
Commit
·
489af12
1
Parent(s):
12d1592
Add old caching
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ name = st.text_input("Paste here name of your paper")
|
|
10 |
abstract = st.text_area("Paste here abstract of your paper")
|
11 |
|
12 |
|
13 |
-
@st.
|
14 |
def load_model():
|
15 |
return InferenceModel()
|
16 |
|
|
|
10 |
abstract = st.text_area("Paste here abstract of your paper")
|
11 |
|
12 |
|
13 |
+
@st.cache # 👈 Add the caching decorator
|
14 |
def load_model():
|
15 |
return InferenceModel()
|
16 |
|