Spaces:
Runtime error
Runtime error
Remove 'beta' from columns and expander
Browse files
app.py
CHANGED
@@ -44,7 +44,7 @@ GITHUB_OWNER = "streamlit"
|
|
44 |
|
45 |
# Show thumbnails for available themes.
|
46 |
# As html img tags here, so we can add links on them.
|
47 |
-
cols = st.
|
48 |
for col, theme in zip(cols, THEMES):
|
49 |
|
50 |
# Get repo name for this theme (to link to correct deployed app)-
|
@@ -72,11 +72,11 @@ for col, theme in zip(cols, THEMES):
|
|
72 |
|
73 |
|
74 |
""
|
75 |
-
with st.
|
76 |
st.write(
|
77 |
"You probably played around with themes before and overrode this app's theme. Go to ☰ -> Settings -> Theme and select *Custom Theme*."
|
78 |
)
|
79 |
-
with st.
|
80 |
st.write(EXPANDER_TEXT)
|
81 |
|
82 |
""
|
@@ -138,7 +138,7 @@ def draw_all(
|
|
138 |
)
|
139 |
# st.multiselect("Pick a number", [1, 2, 3], key=key)
|
140 |
# st.color_picker("Colors, colors, colors", key=key)
|
141 |
-
with st.
|
142 |
st.write("Hey there! Nothing to see here 👀 ")
|
143 |
st.write("")
|
144 |
# st.write("That's our progress on theming:")
|
|
|
44 |
|
45 |
# Show thumbnails for available themes.
|
46 |
# As html img tags here, so we can add links on them.
|
47 |
+
cols = st.columns(len(THEMES))
|
48 |
for col, theme in zip(cols, THEMES):
|
49 |
|
50 |
# Get repo name for this theme (to link to correct deployed app)-
|
|
|
72 |
|
73 |
|
74 |
""
|
75 |
+
with st.expander("Not loading?"):
|
76 |
st.write(
|
77 |
"You probably played around with themes before and overrode this app's theme. Go to ☰ -> Settings -> Theme and select *Custom Theme*."
|
78 |
)
|
79 |
+
with st.expander("How can I use this theme in my app?"):
|
80 |
st.write(EXPANDER_TEXT)
|
81 |
|
82 |
""
|
|
|
138 |
)
|
139 |
# st.multiselect("Pick a number", [1, 2, 3], key=key)
|
140 |
# st.color_picker("Colors, colors, colors", key=key)
|
141 |
+
with st.expander("Expand me!"):
|
142 |
st.write("Hey there! Nothing to see here 👀 ")
|
143 |
st.write("")
|
144 |
# st.write("That's our progress on theming:")
|