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