Huertas97 commited on
Commit
a36de11
1 Parent(s): 4676988

Update app_inpaint.py

Browse files
Files changed (1) hide show
  1. 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