Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -56,15 +56,15 @@ app_ui = ui.page_fluid(
|
|
| 56 |
border_radius=False
|
| 57 |
)
|
| 58 |
),
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
)
|
| 69 |
|
| 70 |
@module.ui
|
|
@@ -108,25 +108,25 @@ def plot_server(input, output, session, r):
|
|
| 108 |
fig.canvas.flush_events()
|
| 109 |
|
| 110 |
def server(input, output, session: Session):
|
| 111 |
-
|
| 112 |
-
|
| 113 |
-
|
| 114 |
-
|
| 115 |
|
| 116 |
-
|
| 117 |
-
|
| 118 |
-
|
| 119 |
-
|
| 120 |
-
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
-
|
| 130 |
|
| 131 |
|
| 132 |
analysis_results = reactive.Value([])
|
|
|
|
| 56 |
border_radius=False
|
| 57 |
)
|
| 58 |
),
|
| 59 |
+
ui.div(
|
| 60 |
+
ui.layout_column_wrap(
|
| 61 |
+
ui.output_image("rbg_kew", height='100px'),
|
| 62 |
+
ui.output_image("bloomberg", height='100px'),
|
| 63 |
+
ui.output_image("brin", height='100px'),
|
| 64 |
+
ui.output_image("abg", height='100px'),
|
| 65 |
+
)
|
| 66 |
+
class_="footer"
|
| 67 |
+
)
|
| 68 |
)
|
| 69 |
|
| 70 |
@module.ui
|
|
|
|
| 108 |
fig.canvas.flush_events()
|
| 109 |
|
| 110 |
def server(input, output, session: Session):
|
| 111 |
+
@render.image
|
| 112 |
+
def rbg_kew():
|
| 113 |
+
img = {"src": "assets/rbg_kew.png", "height": "100px"}
|
| 114 |
+
return img
|
| 115 |
|
| 116 |
+
@render.image
|
| 117 |
+
def bloomberg():
|
| 118 |
+
img = {"src": "assets/bloomberg.png", "height": "100px"}
|
| 119 |
+
return img
|
| 120 |
+
|
| 121 |
+
@render.image
|
| 122 |
+
def brin():
|
| 123 |
+
img = {"src": "assets/brin.png", "height": "100px"}
|
| 124 |
+
return img
|
| 125 |
+
|
| 126 |
+
@render.image
|
| 127 |
+
def abg():
|
| 128 |
+
img = {"src": "assets/abg.png", "height": "100px"}
|
| 129 |
+
return img
|
| 130 |
|
| 131 |
|
| 132 |
analysis_results = reactive.Value([])
|