galmetzer commited on
Commit
fce9719
1 Parent(s): 7b8151e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ FILE_PC_KEY = 'File'
15
  DEFAULT_COLOR = '#E1E1E1'
16
 
17
 
18
- @st.cache
19
  def load_model(path: str, num_controls: int, url: str):
20
  """
21
  Load model from memory, or download from drive
 
15
  DEFAULT_COLOR = '#E1E1E1'
16
 
17
 
18
+ @st.cache_resource
19
  def load_model(path: str, num_controls: int, url: str):
20
  """
21
  Load model from memory, or download from drive