Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -140,13 +140,13 @@ def server(input, output, session: Session):
|
|
| 140 |
id = "image_" + str(i)
|
| 141 |
opacity = ui.input_slider(id, "Opacity", 0, 1.0, 0.5)
|
| 142 |
|
| 143 |
-
plot_server(f"plot_{i}",r=r, opacity=input[id]())
|
| 144 |
|
| 145 |
ui_output.append(
|
| 146 |
ui.div(
|
| 147 |
ui.row(
|
| 148 |
ui.column(4, ui.img(src=f"data:image/png;base64,{r['image_base64']}")),
|
| 149 |
-
plot_ui(f"plot_{i}"),
|
| 150 |
),
|
| 151 |
opacity,
|
| 152 |
ui.h5(r['filename'], style="margin-top: 15px;"),
|
|
|
|
| 140 |
id = "image_" + str(i)
|
| 141 |
opacity = ui.input_slider(id, "Opacity", 0, 1.0, 0.5)
|
| 142 |
|
| 143 |
+
# plot_server(f"plot_{i}",r=r, opacity=input[id]())
|
| 144 |
|
| 145 |
ui_output.append(
|
| 146 |
ui.div(
|
| 147 |
ui.row(
|
| 148 |
ui.column(4, ui.img(src=f"data:image/png;base64,{r['image_base64']}")),
|
| 149 |
+
# plot_ui(f"plot_{i}"),
|
| 150 |
),
|
| 151 |
opacity,
|
| 152 |
ui.h5(r['filename'], style="margin-top: 15px;"),
|