Spaces:
Runtime error
Runtime error
Update appStore/multiapp.py
Browse files- appStore/multiapp.py +2 -1
appStore/multiapp.py
CHANGED
@@ -36,6 +36,7 @@ class MultiApp:
|
|
36 |
"""
|
37 |
self.apps.append({
|
38 |
"title": title,
|
|
|
39 |
"function": func
|
40 |
})
|
41 |
|
@@ -44,7 +45,7 @@ class MultiApp:
|
|
44 |
image = Image.open('appStore/img/sdsn.png')
|
45 |
st.sidebar.image(image)
|
46 |
app = st.sidebar.radio(
|
47 |
-
'
|
48 |
self.apps,
|
49 |
format_func=lambda app: app['title'])
|
50 |
|
|
|
36 |
"""
|
37 |
self.apps.append({
|
38 |
"title": title,
|
39 |
+
"icon": icon,
|
40 |
"function": func
|
41 |
})
|
42 |
|
|
|
45 |
image = Image.open('appStore/img/sdsn.png')
|
46 |
st.sidebar.image(image)
|
47 |
app = st.sidebar.radio(
|
48 |
+
'Pages',
|
49 |
self.apps,
|
50 |
format_func=lambda app: app['title'])
|
51 |
|