Vivien
commited on
Commit
•
fbe7708
1
Parent(s):
1a443bc
Add "allow output mutatio" when caching
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ MODEL_NAMES = [
|
|
11 |
] # , "large-patch14", "large-patch14-336"]
|
12 |
|
13 |
|
14 |
-
@st.
|
15 |
def load():
|
16 |
df = {0: pd.read_csv("data.csv"), 1: pd.read_csv("data2.csv")}
|
17 |
models = {}
|
|
|
11 |
] # , "large-patch14", "large-patch14-336"]
|
12 |
|
13 |
|
14 |
+
@st.cache(allow_output_mutation=True)
|
15 |
def load():
|
16 |
df = {0: pd.read_csv("data.csv"), 1: pd.read_csv("data2.csv")}
|
17 |
models = {}
|