Skip to content

Commit

Permalink
fix: remove deprecated calls from shiny code and pin shiny
Browse files Browse the repository at this point in the history
  • Loading branch information
dometto committed Jul 29, 2024
1 parent 362f75f commit 1600330
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
16 changes: 7 additions & 9 deletions docs/responsible-use.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -39,22 +39,20 @@ import faicons
app_ui = ui.page_fluid(
ui.layout_sidebar(
ui.panel_sidebar(
ui.sidebar(
ui.input_radio_buttons(
"device", "Processing Unit", ["CPU", "GPU"], selected="CPU"
),
ui.output_ui("device_controls"),
),
ui.panel_main(
ui.value_box(
title="Estimated total costs",
showcase=faicons.icon_svg("circle-dollar-to-slot",width="50px"),
value=ui.output_ui("estimate"),
theme="bg-gradient-blue-purple",
),
ui.output_plot("plot"),
ui.value_box(
title="Estimated total costs",
showcase=faicons.icon_svg("circle-dollar-to-slot",width="50px"),
value=ui.output_ui("estimate"),
theme="bg-gradient-blue-purple",
),
ui.output_plot("plot"),
),
)
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
shinylive
shinylive~=0.5
py-markdown-table
tabulate
python-frontmatter
jupyter
jupyter

0 comments on commit 1600330

Please sign in to comment.