Spaces:
Sleeping
Sleeping
Vivien
commited on
Commit
•
1a443bc
1
Parent(s):
8ad830a
Update to streamlit 1.2.0
Browse files
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: 👁
|
|
4 |
colorFrom: indigo
|
5 |
colorTo: blue
|
6 |
sdk: streamlit
|
7 |
-
sdk_version: 1.
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
---
|
|
|
4 |
colorFrom: indigo
|
5 |
colorTo: blue
|
6 |
sdk: streamlit
|
7 |
+
sdk_version: 1.2.0
|
8 |
app_file: app.py
|
9 |
pinned: false
|
10 |
---
|
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.experimental_singleton
|
15 |
def load():
|
16 |
df = {0: pd.read_csv("data.csv"), 1: pd.read_csv("data2.csv")}
|
17 |
models = {}
|