aagoluoglu commited on
Commit
e187c4f
·
verified ·
1 Parent(s): 561b2d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -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 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
 
 
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