aagoluoglu commited on
Commit
b4e14ad
·
verified ·
1 Parent(s): 50f0b87

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -21,7 +21,7 @@ app_ui = ui.page_fillable(
21
  shinyswatch.theme.minty(),
22
  ui.layout_sidebar(
23
  ui.sidebar(
24
- ui.input_file("tile_image", "Choose TIFF File", accept=[".tif"], multiple=False, save_path="/",),
25
  # Artwork by @allison_horst
26
  ui.input_selectize(
27
  "xvar",
@@ -69,7 +69,7 @@ def server(input: Inputs, output: Outputs, session: Session):
69
  """Displays the uploaded image"""
70
  img_src = uploaded_image_path()
71
  if img_src:
72
- return str(ui.tags.img(src=str(img_src), style={"max-width": "100%"}))
73
  else:
74
  return "" # Return an empty string if no image is uploaded
75
 
 
21
  shinyswatch.theme.minty(),
22
  ui.layout_sidebar(
23
  ui.sidebar(
24
+ ui.input_file("tile_image", "Choose TIFF File", accept=[".tif"], multiple=False),
25
  # Artwork by @allison_horst
26
  ui.input_selectize(
27
  "xvar",
 
69
  """Displays the uploaded image"""
70
  img_src = uploaded_image_path()
71
  if img_src:
72
+ return str(ui.tags.img(src="penguins.png", style={"max-width": "100%"}))
73
  else:
74
  return "" # Return an empty string if no image is uploaded
75