Spaces:
Runtime error
Runtime error
Update app_inpaint.py
Browse files- app_inpaint.py +2 -1
app_inpaint.py
CHANGED
|
@@ -25,7 +25,8 @@ st.set_page_config(
|
|
| 25 |
}
|
| 26 |
)
|
| 27 |
|
| 28 |
-
@st.cache_data(show_spinner=False, suppress_st_warning=True)
|
|
|
|
| 29 |
def load_models():
|
| 30 |
#specify shortform of language you want to extract,
|
| 31 |
# I am using Spanish(es) and English(en) here by list of language ids
|
|
|
|
| 25 |
}
|
| 26 |
)
|
| 27 |
|
| 28 |
+
# @st.cache_data(show_spinner=False, suppress_st_warning=True)
|
| 29 |
+
@st.cache_resource(show_spinner=False)
|
| 30 |
def load_models():
|
| 31 |
#specify shortform of language you want to extract,
|
| 32 |
# I am using Spanish(es) and English(en) here by list of language ids
|