aagoluoglu commited on
Commit
5e8275a
·
verified ·
1 Parent(s): 7e4a763

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -12
app.py CHANGED
@@ -69,18 +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 ui.value_box(
73
- "title",
74
- 14,
75
- {"class_": "pt-1 pb-0"},
76
- showcase=ui.fill.as_fill_item(
77
- ui.tags.img(
78
- {"style": "object-fit:contain;"},
79
- src="penguins.png",
80
- )
81
- ),
82
- theme_color=None,
83
- )
84
  else:
85
  return "" # Return an empty string if no image is uploaded
86
 
 
69
  """Displays the uploaded image"""
70
  img_src = uploaded_image_path()
71
  if img_src:
72
+ return ui.tags.img(src="penguins.png", style={"max-width": "100%"})
 
 
 
 
 
 
 
 
 
 
 
73
  else:
74
  return "" # Return an empty string if no image is uploaded
75