Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ FILE_PC_KEY = 'File'
|
|
15 |
DEFAULT_COLOR = '#E1E1E1'
|
16 |
|
17 |
|
18 |
-
@st.
|
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
|